chaty 1.0.14
chaty: ^1.0.14 copied to clipboard
A Firebase chat widget for Flutter with real-time messaging, media sharing, and easy integration into your apps.
We analyzed this package 4 days ago, and awarded it 130 pub points (of a possible 160):
10/10 points: Provide a valid pubspec.yaml
5/5 points: Provide a valid README.md
5/5 points: Provide a valid CHANGELOG.md
10/10 points: Use an OSI-approved license
Detected license: MIT.
10/10 points: 20% or more of the public API has dartdoc comments
161 out of 182 API elements (88.5 %) have documentation comments.
Some symbols that are missing documentation: build_methoda, chat, chat_list_screen, chat_screen, chat_service.
10/10 points: Package has an example
20/20 points: Supports 2 of 6 possible platforms (iOS, Android, Web, Windows, macOS, Linux)
-
✓ Android
-
✓ iOS
These platforms are not supported:
Package does not support platform `Windows`.
Because:
package:chaty/chaty.dartthat imports:package:chaty/ui/chat_screen.dartthat imports:package:chaty/ui/widgets/message_list.dartthat imports:package:chaty/services/chat_service.dartthat imports:package:chaty/services/notification_services.dartthat imports:package:flutter_local_notifications/flutter_local_notifications.dartthat imports:package:flutter_local_notifications/src/notification_details.dartthat imports:package:flutter_local_notifications_linux/flutter_local_notifications_linux.dartthat declares support for platforms:Linux.
Package does not support platform `Linux`.
Because:
package:chaty/chaty.dartthat imports:package:chaty/ui/widgets/message_bubble.dartthat imports:package:chaty/models/message.dartthat imports:package:cloud_firestore/cloud_firestore.dartthat declares support for platforms:Android,iOS,Windows,macOS,Web.
Package does not support platform `macOS`.
Because:
package:chaty/chaty.dartthat imports:package:chaty/ui/chat_screen.dartthat imports:package:chaty/ui/widgets/message_list.dartthat imports:package:chaty/services/chat_service.dartthat imports:package:chaty/services/notification_services.dartthat imports:package:flutter_local_notifications/flutter_local_notifications.dartthat imports:package:flutter_local_notifications/src/notification_details.dartthat imports:package:flutter_local_notifications_windows/flutter_local_notifications_windows.dartthat declares support for platforms:Windows.
Package does not support platform `Web`.
Because:
package:chaty/chaty.dartthat imports:package:chaty/ui/chat_screen.dartthat imports:package:chaty/ui/widgets/message_list.dartthat imports:package:chaty/services/chat_service.dartthat imports:package:chaty/services/notification_services.dartthat imports:package:flutter_local_notifications/flutter_local_notifications.dartthat declares support for platforms:Android,iOS,Windows,Linux,macOS.
These issues are present but do not affect the score, because they may not originate in your package:
Package does not support platform `Android`.
Because:
package:chaty/chaty.dartthat imports:package:chaty/ui/chat_screen.dartthat imports:package:chaty/ui/widgets/message_list.dartthat imports:package:chaty/services/chat_service.dartthat imports:package:chaty/services/notification_services.dartthat imports:package:flutter_local_notifications/flutter_local_notifications.dartthat imports:package:flutter_local_notifications/src/notification_details.dartthat imports:package:flutter_local_notifications_windows/flutter_local_notifications_windows.dartthat declares support for platforms:Windows.
Package does not support platform `iOS`.
Because:
package:chaty/chaty.dartthat imports:package:chaty/ui/chat_screen.dartthat imports:package:chaty/ui/widgets/message_list.dartthat imports:package:chaty/services/chat_service.dartthat imports:package:chaty/services/notification_services.dartthat imports:package:flutter_local_notifications/flutter_local_notifications.dartthat imports:package:flutter_local_notifications/src/notification_details.dartthat imports:package:flutter_local_notifications_windows/flutter_local_notifications_windows.dartthat declares support for platforms:Windows.
0/0 points: WASM compatibility
Package not compatible with runtime wasm
Because:
package:chaty/chaty.dartthat imports:package:chaty/ui/chat_screen.dartthat imports:package:chaty/ui/widgets/message_list.dartthat imports:package:chaty/services/chat_service.dartthat imports:package:chaty/services/storage_services.dartthat imports:package:firebase_storage/firebase_storage.dartthat imports:package:firebase_storage_platform_interface/firebase_storage_platform_interface.dartthat imports:package:firebase_storage_platform_interface/src/platform_interface/platform_interface_reference.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.
40/50 points: code has no errors, warnings, lints, or formatting issues
Found 6 issues. Showing the first 2:
INFO: An uninitialized field should have an explicit type annotation.
lib/models/message.dart:52:9
╷
52 │ final isDeleted;
│ ^^^^^^^^^
╵
To reproduce make sure you are using the lints_core and run flutter analyze lib/models/message.dart
INFO: Missing type annotation.
lib/models/message.dart:52:9
╷
52 │ final isDeleted;
│ ^^^^^^^^^
╵
To reproduce make sure you are using the lints_core and run flutter analyze lib/models/message.dart
10/10 points: All of the package dependencies are supported in the latest version
| Package | Constraint | Compatible | Latest | Notes |
|---|---|---|---|---|
cloud_firestore |
any |
6.0.3 | 6.0.3 | |
firebase_core |
any |
4.2.0 | 4.2.0 | |
firebase_messaging |
any |
16.0.3 | 16.0.3 | |
firebase_storage |
any |
13.0.3 | 13.0.3 | |
flutter_local_notifications |
any |
19.5.0 | 19.5.0 | |
http |
any |
1.5.0 | 1.5.0 | |
image_picker |
any |
1.2.0 | 1.2.0 | |
path_provider |
any |
2.1.5 | 2.1.5 | |
permission_handler |
any |
12.0.1 | 12.0.1 | |
provider |
any |
6.1.5+1 | 6.1.5+1 |
Transitive dependencies
To reproduce run dart pub outdated --no-dev-dependencies --up-to-date --no-dependency-overrides.
10/10 points: Package supports latest stable Dart and Flutter SDKs
0/20 points: Compatible with dependency constraint lower bounds
downgrade analysis failed failed with 6 errors:
WRONG_NUMBER_OF_TYPE_ARGUMENTS-lib/services/chat_service.dart:83:12- The type 'DocumentSnapshot' is declared with 0 type parameters, but 1 type arguments were given.WRONG_NUMBER_OF_TYPE_ARGUMENTS-lib/services/chat_service.dart:94:8- The type 'QueryDocumentSnapshot' is declared with 0 type parameters, but 1 type arguments were given.ARGUMENT_TYPE_NOT_ASSIGNABLE-lib/services/chat_service.dart:142:43- The argument type 'Map<String, dynamic>?' can't be assigned to the parameter type 'Map<String, dynamic>'.
Run flutter pub downgrade and then flutter analyze to reproduce the above problem.
You may run dart pub upgrade --tighten to update your dependency constraints, see dart.dev/go/downgrade-testing for details.
Analyzed with Pana 0.22.24, Flutter 3.35.5, Dart 3.9.2.
Check the analysis log for details.