firebase_model_notifier 0.15.1+21
firebase_model_notifier: ^0.15.1+21 copied to clipboard
ModelNotifier package for Firebase. When you listen in Firestore, you can tell riverpod and others about the update.
We analyzed this package 43 hours ago, and awarded it 110 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: firebase_model_notifier
, - contains a
version
property, and, - does not contain a
publish_to
property.
- contains
Repository has no matching pubspec.yaml
with name: firebase_model_notifier
.
Repository URL doesn't exist.
At the time of the analysis https://github.com/mathrunet/flutter_masamune/tree/master/packages/firebase_model_notifier
was unreachable. Make sure that the website is reachable via HEAD
requests.
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: BSD-3-Clause
.
10/10 points: 20% or more of the public API has dartdoc comments
4292 out of 4509 API elements (95.2 %) have documentation comments.
Some symbols that are missing documentation: firebase_model_notifier.AgesExtensions
, firebase_model_notifier.AggregateField
, firebase_model_notifier.AggregateField.AggregateField.new
, firebase_model_notifier.ApiDynamicCollectionModel
, firebase_model_notifier.ApiDynamicCollectionModel.ApiDynamicCollectionModel.new
.
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:firebase_model_notifier/firebase_model_notifier.dart
that imports:package:model_notifier/model_notifier.dart
that imports:package:model_notifier/src/mobile/mobile.dart
that imports:package:katana_flutter/katana_flutter.dart
that imports:package:share_plus/share_plus.dart
that imports:package:share_plus/src/share_plus_linux.dart
that imports:package:url_launcher_linux/url_launcher_linux.dart
that declares support for platforms:Linux
.
Package does not support platform `Linux`.
Because:
package:firebase_model_notifier/firebase_model_notifier.dart
that imports:package:model_notifier/model_notifier.dart
that imports:package:model_notifier/src/mobile/mobile.dart
that imports:package:katana_flutter/katana_flutter.dart
that imports:package:katana_flutter/config/mobile/mobile.dart
that imports:package:package_info_plus/package_info_plus.dart
that imports:package:package_info_plus/src/package_info_plus_windows.dart
that imports:package:win32/win32.dart
that declares support for platforms:Windows
.
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:firebase_model_notifier/firebase_model_notifier.dart
that imports:package:model_notifier/model_notifier.dart
that imports:package:model_notifier/src/mobile/mobile.dart
that imports:package:katana_flutter/katana_flutter.dart
that imports:package:katana_flutter/config/mobile/mobile.dart
that imports:package:package_info_plus/package_info_plus.dart
that imports:package:package_info_plus/src/package_info_plus_windows.dart
that imports:package:win32/win32.dart
that declares support for platforms:Windows
.
Package does not support platform `iOS`.
Because:
package:firebase_model_notifier/firebase_model_notifier.dart
that imports:package:model_notifier/model_notifier.dart
that imports:package:model_notifier/src/mobile/mobile.dart
that imports:package:katana_flutter/katana_flutter.dart
that imports:package:katana_flutter/config/mobile/mobile.dart
that imports:package:package_info_plus/package_info_plus.dart
that imports:package:package_info_plus/src/package_info_plus_windows.dart
that imports:package:win32/win32.dart
that declares support for platforms:Windows
.
Package does not support platform `macOS`.
Because:
package:firebase_model_notifier/firebase_model_notifier.dart
that imports:package:model_notifier/model_notifier.dart
that imports:package:model_notifier/src/mobile/mobile.dart
that imports:package:katana_flutter/katana_flutter.dart
that imports:package:katana_flutter/config/mobile/mobile.dart
that imports:package:package_info_plus/package_info_plus.dart
that imports:package:package_info_plus/src/package_info_plus_windows.dart
that imports:package:win32/win32.dart
that declares support for platforms:Windows
.
Package does not support platform `Web`.
Because:
package:firebase_model_notifier/firebase_model_notifier.dart
that imports:package:model_notifier/model_notifier.dart
that imports:package:model_notifier/src/others/others.dart
that imports:package:katana_flutter/katana_flutter.dart
that imports:package:share_plus/share_plus.dart
that imports:package:share_plus/src/share_plus_web.dart
that imports:package:share_plus_platform_interface/share_plus_platform_interface.dart
that imports:package:share_plus_platform_interface/platform_interface/share_plus_platform.dart
that imports:package:share_plus_platform_interface/method_channel/method_channel_share.dart
that imports:package:path_provider/path_provider.dart
that declares support for platforms:Android
,iOS
,Windows
,Linux
,macOS
.
0/0 points: WASM compatibility
Package not compatible with runtime wasm
Because:
package:firebase_model_notifier/firebase_model_notifier.dart
that imports:package:model_notifier/model_notifier.dart
that imports:package:model_notifier/src/others/others.dart
that imports:package:katana_flutter/katana_flutter.dart
that imports:package:katana_flutter/config/others/others.dart
that imports:package:package_info_plus/package_info_plus.dart
that imports:package:package_info_plus/src/package_info_plus_windows.dart
that imports:package:win32/win32.dart
that imports:package:win32/src/com/iwbemservices.dart
that imports:package:win32/src/com/iunknown.dart
that imports:package:win32/src/win32/ole32.g.dart
that imports:package:win32/src/variant.dart
that imports:package:win32/src/structs.g.dart
that imports:package:win32/src/guid.dart
that imports:package:ffi/ffi.dart
that imports:package:ffi/src/utf8.dart
that imports:dart:ffi
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.dev/web/wasm for details.
40/50 points: code has no errors, warnings, lints, or formatting issues
Found 83 issues. Showing the first 2:
INFO: The part-of directive uses a library name.
lib/firestore/extensions.dart:1:1
╷
1 │ part of firebase_model_notifier;
│ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
╵
To reproduce make sure you are using the lints_core and run flutter analyze lib/firestore/extensions.dart
INFO: 'MetaConst' is deprecated and shouldn't be used.
lib/firestore/extensions.dart:17:22
╷
17 │ String timeKey = MetaConst.pushTime,
│ ^^^^^^^^^
╵
To reproduce make sure you are using the lints_core and run flutter analyze lib/firestore/extensions.dart
0/10 points: All of the package dependencies are supported in the latest version
Package | Constraint | Compatible | Latest | Notes |
---|---|---|---|---|
cloud_firestore |
any |
5.6.11 | 5.6.11 | |
cloud_functions |
any |
5.6.1 | 5.6.1 | |
katana_firebase |
^0.15.0 |
0.15.0+13 | 3.0.3 | |
model_notifier |
^0.15.0 |
0.15.1+16 | 0.15.1+16 | Discontinued |
Transitive dependencies
Package | Constraint | Compatible | Latest | Notes |
---|---|---|---|---|
_flutterfire_internals |
- | 1.3.58 | 1.3.58 | |
args |
- | 2.7.0 | 2.7.0 | |
asn1lib |
- | 1.6.5 | 1.6.5 | |
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 |
- | 6.6.11 | 6.6.11 | |
cloud_firestore_web |
- | 4.4.11 | 4.4.11 | |
cloud_functions_platform_interface |
- | 5.8.1 | 5.8.1 | |
cloud_functions_web |
- | 4.11.4 | 4.11.4 | |
collection |
- | 1.19.1 | 1.19.1 | |
connectivity_plus |
- | 2.3.9 | 6.1.4 | |
connectivity_plus_linux |
- | 1.3.1 | 1.3.1 | Discontinued |
connectivity_plus_macos |
- | 1.2.6 | 1.2.6 | Discontinued |
connectivity_plus_platform_interface |
- | 1.2.4 | 2.0.1 | |
connectivity_plus_web |
- | 1.2.5 | 1.2.5 | Discontinued |
connectivity_plus_windows |
- | 1.2.2 | 1.2.2 | Discontinued |
convert |
- | 3.1.2 | 3.1.2 | |
cross_file |
- | 0.3.4+2 | 0.3.4+2 | |
crypto |
- | 3.0.6 | 3.0.6 | |
csv |
- | 5.1.1 | 6.0.0 | |
dbus |
- | 0.7.11 | 0.7.11 | |
device_info_plus |
- | 8.2.2 | 11.5.0 | |
device_info_plus_platform_interface |
- | 7.0.3 | 7.0.3 | |
encrypt |
- | 5.0.3 | 5.0.3 | |
fake_async |
- | 1.3.3 | 1.3.3 | |
ffi |
- | 2.1.4 | 2.1.4 | |
file |
- | 6.1.4 | 7.0.1 | |
firebase_core |
- | 3.15.1 | 3.15.1 | |
firebase_core_platform_interface |
- | 6.0.0 | 6.0.0 | |
firebase_core_web |
- | 2.24.1 | 2.24.1 | |
font_awesome_flutter |
- | 10.8.0 | 10.8.0 | |
http |
- | 0.13.6 | 1.4.0 | |
http_parser |
- | 4.1.2 | 4.1.2 | |
intl |
- | 0.17.0 | 0.20.2 | |
js |
- | 0.6.7 | 0.7.2 | Discontinued |
katana |
- | 0.15.10+3 | 3.1.2 | |
katana_flutter |
- | 0.15.0+18 | 0.15.0+18 | Discontinued |
leak_tracker |
- | 10.0.9 | 11.0.1 | |
leak_tracker_flutter_testing |
- | 3.0.9 | 3.0.10 | |
leak_tracker_testing |
- | 3.0.1 | 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 | |
mime |
- | 1.0.6 | 2.0.0 | |
nm |
- | 0.5.0 | 0.5.0 | |
package_info_plus |
- | 3.1.2 | 8.3.0 | |
package_info_plus_platform_interface |
- | 2.0.1 | 3.2.0 | |
path |
- | 1.9.1 | 1.9.1 | |
path_provider |
- | 2.1.5 | 2.1.5 | |
path_provider_android |
- | 2.2.17 | 2.2.17 | |
path_provider_foundation |
- | 2.4.1 | 2.4.1 | |
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 | |
petitparser |
- | 6.1.0 | 7.0.0 | |
platform |
- | 3.1.6 | 3.1.6 | |
plugin_platform_interface |
- | 2.1.8 | 2.1.8 | |
pointycastle |
- | 3.9.1 | 4.0.0 | |
recase |
- | 4.1.0 | 4.1.0 | |
share_plus |
- | 6.3.4 | 11.0.0 | |
share_plus_platform_interface |
- | 3.4.0 | 6.0.0 | |
shared_preferences |
- | 2.5.3 | 2.5.3 | |
shared_preferences_android |
- | 2.4.10 | 2.4.10 | |
shared_preferences_foundation |
- | 2.5.4 | 2.5.4 | |
shared_preferences_linux |
- | 2.4.1 | 2.4.1 | |
shared_preferences_platform_interface |
- | 2.4.1 | 2.4.1 | |
shared_preferences_web |
- | 2.4.3 | 2.4.3 | |
shared_preferences_windows |
- | 2.4.1 | 2.4.1 | |
source_span |
- | 1.10.1 | 1.10.1 | |
sprintf |
- | 7.0.0 | 7.0.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 | |
term_glyph |
- | 1.2.2 | 1.2.2 | |
test_api |
- | 0.7.4 | 0.7.6 | |
typed_data |
- | 1.4.0 | 1.4.0 | |
url_launcher |
- | 6.3.1 | 6.3.1 | |
url_launcher_android |
- | 6.3.16 | 6.3.16 | |
url_launcher_ios |
- | 6.3.3 | 6.3.3 | |
url_launcher_linux |
- | 3.2.1 | 3.2.1 | |
url_launcher_macos |
- | 3.2.2 | 3.2.2 | |
url_launcher_platform_interface |
- | 2.3.2 | 2.3.2 | |
url_launcher_web |
- | 2.4.1 | 2.4.1 | |
url_launcher_windows |
- | 3.1.4 | 3.1.4 | |
uuid |
- | 3.0.7 | 4.5.1 | |
vector_math |
- | 2.1.4 | 2.2.0 | |
vm_service |
- | 15.0.0 | 15.0.2 | |
web |
- | 1.1.1 | 1.1.1 | |
win32 |
- | 3.1.4 | 5.14.0 | |
xdg_directories |
- | 1.1.0 | 1.1.0 | |
xml |
- | 6.5.0 | 6.6.0 |
To reproduce run dart pub outdated --no-dev-dependencies --up-to-date --no-dependency-overrides
.
The constraint `^0.15.0` on katana_firebase does not support the stable version `1.1.0`.
Try running dart pub upgrade --major-versions katana_firebase
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:
- model_notifier.
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 9 errors:
UNDEFINED_METHOD
-lib/firestore/firestore_collection_model.dart:384:21
- The method 'fromMap' isn't defined for the type 'UNDEFINED_METHOD
-lib/firestore/firestore_collection_model.dart:393:21
- The method 'fromMap' isn't defined for the type 'UNDEFINED_METHOD
-lib/firestore/firestore_collection_model.dart:460:23
- The method 'fromMap' isn't defined for the type '
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.21
, Flutter 3.32.4
, Dart 3.8.1
.
Check the analysis log for details.