flutter_support_chat 0.2.1
flutter_support_chat: ^0.2.1 copied to clipboard
Flutter package to implement a firestore chat between customer and product support
We analyzed this package 3 days ago, and awarded it 60 pub points (of a possible 160):
0/10 points: Provide a valid pubspec.yaml
Failed to verify repository URL.
Please provide a valid repository
URL in pubspec.yaml
, such that:
repository
can be cloned,- a clone of the repository contains a
pubspec.yaml
, which:,- contains
name: flutter_support_chat
, - contains a
version
property, and, - does not contain a
publish_to
property.
- contains
pubspec.yaml
from the repository URL mismatch: expected https://github.com/cedteg/flutter_support_chat
but got https://github.com/cedtegApps/flutter_support_chat
.
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
.
0/10 points: 20% or more of the public API has dartdoc comments
OUT: Documenting flutter_support_chat... Discovering libraries... Linking elements... Precaching local docs for 678902 elements... Initialized dartdoc with 1115 libraries Generating docs for library model/chat.dart from package:flutter_support_chat/model/chat.dart... Generating docs for library model/state.dart from package:flutter_support_chat/model/state.dart... Generating docs for library model/message.dart from package:flutter_support_chat/model/message.dart... Generating docs for library flutter_support_chat.dart from package:flutter_support_chat/flutter_support_chat.dart... Generating docs for library new_case.dart from package:flutter_support_chat/new_case.dart... [4 more lines] ERR: warning: flutter_support_chat has no library level documentation comments from flutter_support_chat: (file:///tmp/pana_WPVFEH/lib/flutter_support_chat.dart:1:1) warning: flutter_support_chat has no library level documentation comments from flutter_support_chat: (file:///tmp/pana_WPVFEH/lib/conversation.dart:1:1) error: file already written at "flutter_support_chat/index.html" for symbol flutter_support_chat: (file:///tmp/pana_WPVFEH/lib/conversation.dart:1:1) conflicting with file already generated by flutter_support_chat: (file:///tmp/pana_WPVFEH/lib/flutter_support_chat.dart:1:1) Dartdoc generates a path and filename to write to for each symbol. 'flutter_support_chat' conflicts with another symbol in the generated path, and therefore can not be written out. Changing the name, library [29 more lines]
10/10 points: Package has an example
20/20 points: Supports 4 of 6 possible platforms (iOS, Android, Web, Windows, macOS, Linux)
-
✓ Android
-
✓ iOS
-
✓ macOS
-
✓ Web
These platforms are not supported:
Package does not support platform `Windows`.
Because:
package:flutter_support_chat/flutter_support_chat.dart
that imports:package:flutter_support_chat/overview.dart
that imports:package:flutter_support_chat/new_case.dart
that imports:package:flutter_support_chat/model/message.dart
that imports:package:cloud_firestore/cloud_firestore.dart
that declares support for platforms:Android
,iOS
,macOS
,Web
.
Package does not support platform `Linux`.
Because:
package:flutter_support_chat/flutter_support_chat.dart
that imports:package:flutter_support_chat/overview.dart
that imports:package:flutter_support_chat/new_case.dart
that imports:package:flutter_support_chat/model/message.dart
that imports:package:cloud_firestore/cloud_firestore.dart
that declares support for platforms:Android
,iOS
,macOS
,Web
.
These issues are present but do not affect the score, because they may not originate in your package:
Package not compatible with platform Web
Because:
package:flutter_support_chat/flutter_support_chat.dart
that imports:package:flutter_support_chat/overview.dart
that imports:package:flutter_support_chat/new_case.dart
that imports:package:flutter_support_chat/model/message.dart
that imports:package:cloud_firestore/cloud_firestore.dart
that imports:package:firebase_core_platform_interface/firebase_core_platform_interface.dart
that imports:package:firebase_core_platform_interface/src/pigeon/test_api.dart
that imports:package:flutter_test/flutter_test.dart
that imports:package:flutter_test/src/widget_tester.dart
that imports:package:flutter_test/src/test_text_input.dart
that imports:package:flutter_test/src/test_text_input_key_handler.dart
that imports:package:flutter_test/src/binding.dart
that imports:package:flutter_test/src/platform.dart
that imports:dart:io
0/0 points: WASM compatibility
Unable to detect compatibility with runtime wasm
, and this package will not be rewarded full points in a future version of the scoring model.
See https://dart.cn/web/wasm for details.
0/50 points: code has no errors, warnings, lints, or formatting issues
Found 3 issues. Showing the first 2:
ERROR: The getter 'bottomAppBarColor' isn't defined for the type 'ThemeData'.
lib/send_message.dart:106:34
╷
106 │ color: Theme.of(context).bottomAppBarColor,
│ ^^^^^^^^^^^^^^^^^
╵
To reproduce make sure you are using the lints_core and run flutter analyze lib/send_message.dart
INFO: 'WillPopScope' is deprecated and shouldn't be used. Use PopScope instead. The Android predictive back feature will not work with WillPopScope. This feature was deprecated after v3.12.0-1.0.pre.
lib/conversation.dart:45:12
╷
45 │ return WillPopScope(
│ ^^^^^^^^^^^^
╵
To reproduce make sure you are using the lints_core and run flutter analyze lib/conversation.dart
0/10 points: All of the package dependencies are supported in the latest version
Package | Constraint | Compatible | Latest | Notes |
---|---|---|---|---|
cloud_firestore |
>=2.2.0 <4.0.0 |
3.5.1 | 6.0.2 | |
firebase_core |
>=1.2.0 <2.0.0 |
1.24.0 | 4.1.1 |
Transitive dependencies
Package | Constraint | Compatible | Latest | Notes |
---|---|---|---|---|
_flutterfire_internals |
- | 1.0.2 | 1.3.62 | |
async |
- | 2.13.0 | 2.13.0 | |
boolean_selector |
- | 2.1.2 | 2.1.2 | |
characters |
- | 1.4.0 | 1.4.1 | |
clock |
- | 1.1.2 | 1.1.2 | |
cloud_firestore_platform_interface |
- | 5.7.7 | 7.0.2 | |
cloud_firestore_web |
- | 2.8.10 | 5.0.2 | |
collection |
- | 1.19.1 | 1.19.1 | |
fake_async |
- | 1.3.3 | 1.3.3 | |
firebase_core_platform_interface |
- | 4.8.0 | 6.0.1 | |
firebase_core_web |
- | 1.7.3 | 3.1.1 | |
js |
- | 0.6.7 | 0.7.2 | Discontinued |
leak_tracker |
- | 11.0.2 | 11.0.2 | |
leak_tracker_flutter_testing |
- | 3.0.10 | 3.0.10 | |
leak_tracker_testing |
- | 3.0.2 | 3.0.2 | |
matcher |
- | 0.12.17 | 0.12.17 | |
material_color_utilities |
- | 0.11.1 | 0.13.0 | |
meta |
- | 1.16.0 | 1.17.0 | |
path |
- | 1.9.1 | 1.9.1 | |
plugin_platform_interface |
- | 2.1.8 | 2.1.8 | |
source_span |
- | 1.10.1 | 1.10.1 | |
stack_trace |
- | 1.12.1 | 1.12.1 | |
stream_channel |
- | 2.1.4 | 2.1.4 | |
string_scanner |
- | 1.4.1 | 1.4.1 | |
term_glyph |
- | 1.2.2 | 1.2.2 | |
test_api |
- | 0.7.6 | 0.7.7 | |
vector_math |
- | 2.2.0 | 2.2.0 | |
vm_service |
- | 15.0.2 | 15.0.2 |
To reproduce run dart pub outdated --no-dev-dependencies --up-to-date --no-dependency-overrides
.
The constraint `>=2.2.0 <4.0.0` on cloud_firestore does not support the stable version `4.0.0`.
Try running dart pub upgrade --major-versions cloud_firestore
to update the constraint.
The constraint `>=1.2.0 <2.0.0` on firebase_core does not support the stable version `2.0.0`.
Try running dart pub upgrade --major-versions firebase_core
to update the constraint.
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 1 error:
UNDEFINED_GETTER
-lib/send_message.dart:106:34
- The getter 'bottomAppBarColor' isn't defined for the type 'ThemeData'.
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.23
, Flutter 3.35.5
, Dart 3.9.2
.
Check the analysis log for details.