model_fetch_firestore 0.7.1
model_fetch_firestore: ^0.7.1 copied to clipboard
A lazy load wrapper for Firestore collections.
We analyzed this package 3 hours ago, and awarded it 120 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
10/10 points: Use an OSI-approved license
Detected license: MIT-0.
0/10 points: 20% or more of the public API has dartdoc comments
26 out of 141 API elements (18.4 %) have documentation comments.
Providing good documentation for libraries, classes, functions, and other API elements improves code readability and helps developers find and use your API. Document at least 20% of the public API elements.
To highlight public API members missing documentation consider enabling the public_member_api_docs lint.
Some symbols that are missing documentation: model_fetch_firestore, model_fetch_firestore.AbstractFirestoreLoaderFactory, model_fetch_firestore.AbstractFirestoreLoaderFactory.AbstractFirestoreLoaderFactory.new, model_fetch_firestore.AbstractFirestoreLoaderFactory.byIdBloc, model_fetch_firestore.AbstractFirestoreLoaderFactory.createFrozenByIdBloc.
0/10 points: Package has an example
No example found.
See package layout guidelines on how to add an example.
20/20 points: Supports 5 of 6 possible platforms (iOS, Android, Web, Windows, macOS, Linux)
-
✓ Android
-
✓ iOS
-
✓ Windows
-
✓ macOS
-
✓ Web
These platforms are not supported:
Package does not support platform `Linux`.
Because:
package:model_fetch_firestore/model_fetch_firestore.dartthat imports:package:model_fetch_firestore/src/query_builder.dartthat imports:package:model_fetch_firestore/src/loader_factories/abstract.dartthat imports:package:model_fetch_firestore/src/model_by_id/firestore_live_model_loader_by_id.dartthat imports:package:cloud_firestore/cloud_firestore.dartthat declares support for platforms:Android,iOS,Windows,macOS,Web.
0/0 points: WASM compatibility
This package is compatible with runtime wasm, and will be rewarded additional 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 4 issues. Showing the first 2:
INFO: The line length exceeds the 80-character limit.
lib/src/list/firestore_live_single_document_list_loader.dart:9:81
╷
9 │ typedef FirestoreLiveSingleDocumentCollectionBloc<T extends WithId<String>> = FirestoreLiveSingleDocumentListLoader<T>;
│ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
╵
To reproduce make sure you are using the lints_core and run flutter analyze lib/src/list/firestore_live_single_document_list_loader.dart
INFO: The diagnostic 'avoid_catches_without_on_clauses' isn't produced at this location so it doesn't need to be ignored.
lib/src/loader_factories/abstract.dart:38:18
╷
38 │ // ignore: avoid_catches_without_on_clauses
│ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
╵
To reproduce make sure you are using the lints_core and run flutter analyze lib/src/loader_factories/abstract.dart
10/10 points: All of the package dependencies are supported in the latest version
| Package | Constraint | Compatible | Latest | Notes |
|---|---|---|---|---|
cloud_firestore |
>=4.1.0 <7.0.0 |
6.1.0 | 6.1.0 | |
collection |
^1.16.0 |
1.19.1 | 1.19.1 | |
meta |
^1.7.0 |
1.16.0 | 1.17.0 | |
model_fetch |
^0.7.0 |
0.7.0 | 0.7.0 | |
model_interfaces |
^0.3.0 |
0.3.4 | 0.3.4 |
Transitive dependencies
| Package | Constraint | Compatible | Latest | Notes |
|---|---|---|---|---|
_flutterfire_internals |
- | 1.3.64 | 1.3.64 | |
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 |
- | 7.0.4 | 7.0.4 | |
cloud_firestore_web |
- | 5.1.0 | 5.1.0 | |
fake_async |
- | 1.3.3 | 1.3.3 | |
firebase_core |
- | 4.2.1 | 4.2.1 | |
firebase_core_platform_interface |
- | 6.0.2 | 6.0.2 | |
firebase_core_web |
- | 3.3.0 | 3.3.0 | |
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 | |
path |
- | 1.9.1 | 1.9.1 | |
plugin_platform_interface |
- | 2.1.8 | 2.1.8 | |
rxdart |
- | 0.28.0 | 0.28.0 | |
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.8 | |
vector_math |
- | 2.2.0 | 2.2.0 | |
vm_service |
- | 15.0.2 | 15.0.2 | |
web |
- | 1.1.1 | 1.1.1 |
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
20/20 points: Compatible with dependency constraint lower bounds
pub downgrade does not expose any static analysis error.
Analyzed with Pana 0.23.1, Flutter 3.35.7, Dart 3.9.2.
Check the analysis log for details.