flutter_bot 0.0.3
flutter_bot: ^0.0.3 copied to clipboard
A Flutter chatbot widget
We analyzed this package 5 hours ago, and awarded it 110 pub points (of a possible 160):
0/10 points: Provide a valid pubspec.yaml
The package description is too short.
Add more detail to the description field of pubspec.yaml. Use 50 to 180 characters to describe the package, what it does, and its target use case.
5/5 points: Provide a valid README.md
5/5 points: Provide a valid CHANGELOG.md
0/10 points: Use an OSI-approved license
No license was recognized.
Consider using an OSI-approved license in the LICENSE file to make it more accessible to the community.
10/10 points: 20% or more of the public API has dartdoc comments
79 out of 92 API elements (85.9 %) have documentation comments.
Some symbols that are missing documentation: chat_animations, chat_animations.MessageAnimations.controller, chat_animations.MessageAnimations.fadeAnimation, chat_animations.MessageAnimations.scaleAnimation, chat_widget.
10/10 points: Package has an example
20/20 points: Supports 5 of 6 possible platforms (iOS, Android, Web, Windows, macOS, Linux)
-
✓ Android
-
✓ iOS
-
✓ Windows
-
✓ Linux
-
✓ macOS
These platforms are not supported:
Package does not support platform `Web`.
Because:
package:flutter_bot/chat_widget.dartthat imports:package:flutter_bot/src/presentation/screens/chat/chat_widget.dartthat imports:package:flutter_bot/src/presentation/viewmodels/chat_viewmodel.dartthat imports:package:flutter_bot/src/data/repositories/chat_repository.dartthat imports:package:flutter_bot/src/core/network/dio_factory.dartthat imports:package:path_provider/path_provider.dartthat declares support for platforms:Android,iOS,Windows,Linux,macOS.
0/0 points: WASM compatibility
Package not compatible with runtime wasm
Because:
package:flutter_bot/chat_widget.dartthat imports:package:flutter_bot/src/presentation/screens/chat/chat_widget.dartthat imports:package:flutter_bot/src/presentation/viewmodels/chat_viewmodel.dartthat imports:package:flutter_bot/src/data/repositories/chat_repository.dartthat imports:package:flutter_bot/src/core/network/dio_factory.dartthat imports:package:path_provider/path_provider.dartthat imports:package:path_provider_platform_interface/path_provider_platform_interface.dartthat imports:package:path_provider_platform_interface/src/method_channel_path_provider.dartthat imports:package:platform/platform.dartthat imports:package:platform/src/interface/local_platform.dartthat imports:dart:io
This package is not compatible with runtime wasm, and will not be rewarded full points in a future version of the scoring model.
See https://dart.cn/web/wasm for details.
30/50 points: code has no errors, warnings, lints, or formatting issues
Found 7 issues. Showing the first 2:
WARNING: The diagnostic 'invalid_annotation_target' doesn't need to be ignored here because it's already being ignored.
lib/src/data/models/bot_configuration.freezed.dart:644:12
╷
644 │ // ignore: invalid_annotation_target
│ ^^^^^^^^^^^^^^^^^^^^^^^^^
╵
To reproduce make sure you are using the lints_core and run flutter analyze lib/src/data/models/bot_configuration.freezed.dart
WARNING: The diagnostic 'invalid_annotation_target' doesn't need to be ignored here because it's already being ignored.
lib/src/data/models/bot_configuration.freezed.dart:646:12
╷
646 │ // ignore: invalid_annotation_target
│ ^^^^^^^^^^^^^^^^^^^^^^^^^
╵
To reproduce make sure you are using the lints_core and run flutter analyze lib/src/data/models/bot_configuration.freezed.dart
0/10 points: All of the package dependencies are supported in the latest version
| Package | Constraint | Compatible | Latest | Notes |
|---|---|---|---|---|
dio |
^5.8.0+1 |
5.9.0 | 5.9.0 | |
dio_cache_interceptor |
^3.5.1 |
3.5.1 | 4.0.5 | |
dio_cache_interceptor_hive_store |
^4.0.0 |
4.0.0 | 4.0.0 | Discontinued |
flutter_cache_manager |
^3.4.1 |
3.4.1 | 3.4.1 | |
freezed_annotation |
^3.1.0 |
3.1.0 | 3.1.0 | |
google_fonts |
^6.3.0 |
6.3.2 | 6.3.2 | |
http |
^1.4.0 |
1.5.0 | 1.5.0 | |
json_annotation |
^4.9.0 |
4.9.0 | 4.9.0 | |
mockito |
^5.5.0 |
5.5.1 | 5.5.1 | |
path_provider |
^2.1.5 |
2.1.5 | 2.1.5 | |
provider |
^6.1.5 |
6.1.5+1 | 6.1.5+1 | |
retrofit |
^4.7.0 |
4.7.3 | 4.7.3 |
Transitive dependencies
| Package | Constraint | Compatible | Latest | Notes |
|---|---|---|---|---|
_fe_analyzer_shared |
- | 91.0.0 | 92.0.0 | |
analyzer |
- | 8.4.0 | 9.0.0 | |
args |
- | 2.7.0 | 2.7.0 | |
async |
- | 2.13.0 | 2.13.0 | |
boolean_selector |
- | 2.1.2 | 2.1.2 | |
build |
- | 4.0.2 | 4.0.2 | |
built_collection |
- | 5.1.1 | 5.1.1 | |
built_value |
- | 8.12.0 | 8.12.0 | |
characters |
- | 1.4.0 | 1.4.1 | |
clock |
- | 1.1.2 | 1.1.2 | |
code_builder |
- | 4.11.0 | 4.11.0 | |
collection |
- | 1.19.1 | 1.19.1 | |
convert |
- | 3.1.2 | 3.1.2 | |
crypto |
- | 3.0.6 | 3.0.6 | |
dart_style |
- | 3.1.2 | 3.1.2 | |
dio_web_adapter |
- | 2.1.1 | 2.1.1 | |
ffi |
- | 2.1.4 | 2.1.4 | |
file |
- | 7.0.1 | 7.0.1 | |
fixnum |
- | 1.1.1 | 1.1.1 | |
glob |
- | 2.1.3 | 2.1.3 | |
hive_ce |
- | 2.15.1 | 2.15.1 | |
http_parser |
- | 4.1.2 | 4.1.2 | |
isolate_channel |
- | 0.2.2+1 | 0.2.2+1 | |
logging |
- | 1.3.0 | 1.3.0 | |
matcher |
- | 0.12.17 | 0.12.17 | |
material_color_utilities |
- | 0.11.1 | 0.13.0 | |
meta |
- | 1.16.0 | 1.17.0 | |
mime |
- | 2.0.0 | 2.0.0 | |
nested |
- | 1.0.0 | 1.0.0 | |
package_config |
- | 2.2.0 | 2.2.0 | |
path |
- | 1.9.1 | 1.9.1 | |
path_provider_android |
- | 2.2.20 | 2.2.20 | |
path_provider_foundation |
- | 2.4.3 | 2.4.3 | |
path_provider_linux |
- | 2.2.1 | 2.2.1 | |
path_provider_platform_interface |
- | 2.1.2 | 2.1.2 | |
path_provider_windows |
- | 2.3.0 | 2.3.0 | |
platform |
- | 3.1.6 | 3.1.6 | |
plugin_platform_interface |
- | 2.1.8 | 2.1.8 | |
pub_semver |
- | 2.2.0 | 2.2.0 | |
rxdart |
- | 0.28.0 | 0.28.0 | |
source_gen |
- | 4.0.2 | 4.0.2 | |
source_span |
- | 1.10.1 | 1.10.1 | |
sprintf |
- | 7.0.0 | 7.0.0 | |
sqflite |
- | 2.4.2 | 2.4.2 | |
sqflite_android |
- | 2.4.2+2 | 2.4.2+2 | |
sqflite_common |
- | 2.5.6 | 2.5.6 | |
sqflite_darwin |
- | 2.4.2 | 2.4.2 | |
sqflite_platform_interface |
- | 2.4.0 | 2.4.0 | |
stack_trace |
- | 1.12.1 | 1.12.1 | |
stream_channel |
- | 2.1.4 | 2.1.4 | |
string_scanner |
- | 1.4.1 | 1.4.1 | |
synchronized |
- | 3.4.0 | 3.4.0 | |
term_glyph |
- | 1.2.2 | 1.2.2 | |
test_api |
- | 0.7.7 | 0.7.7 | |
typed_data |
- | 1.4.0 | 1.4.0 | |
uuid |
- | 4.5.1 | 4.5.1 | |
vector_math |
- | 2.2.0 | 2.2.0 | |
watcher |
- | 1.1.4 | 1.1.4 | |
web |
- | 1.1.1 | 1.1.1 | |
xdg_directories |
- | 1.1.0 | 1.1.0 | |
yaml |
- | 3.1.3 | 3.1.3 |
To reproduce run dart pub outdated --no-dev-dependencies --up-to-date --no-dependency-overrides.
The constraint `^3.5.1` on dio_cache_interceptor does not support the stable version `4.0.0`.
Try running dart pub upgrade --major-versions dio_cache_interceptor to update the constraint.
The package has one or more discontinued direct dependencies.
Discontinued packages are no longer maintained, and can end up being a
liability.
Consider migrating away from these dependencies:
- dio_cache_interceptor_hive_store.
10/10 points: Package supports latest stable Dart and Flutter SDKs
20/20 points: Compatible with dependency constraint lower bounds
pub downgrade does not expose any static analysis error.
Analyzed with Pana 0.22.24, Flutter 3.35.5, Dart 3.9.2.
Check the analysis log for details.