paginated_query_stream_builder 0.1.0
paginated_query_stream_builder: ^0.1.0 copied to clipboard
The library for building list and grid views from paginated Firestore query streams.
We analyzed this package 3 days ago, and awarded it 80 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: BSD-3-Clause.
10/10 points: 20% or more of the public API has dartdoc comments
38 out of 76 API elements (50.0 %) have documentation comments.
Some symbols that are missing documentation: paginated_query_stream_builder, paginated_query_stream_builder.QueryStreamGridView.QueryStreamGridView.new, paginated_query_stream_builder.QueryStreamGridView.addAutomaticKeepAlives, paginated_query_stream_builder.QueryStreamGridView.addRepaintBoundaries, paginated_query_stream_builder.QueryStreamGridView.addSemanticIndexes.
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:paginated_query_stream_builder/paginated_query_stream_builder.dartthat imports:package:paginated_query_stream_builder/src/views/query_stream_list_view.dartthat imports:package:paginated_query_stream_builder/src/query_stream_view.dartthat imports:package:paginated_query_stream_builder/src/controller.dartthat imports:package:paginated_query_stream_builder/src/repository.dartthat imports:package:cloud_firestore/cloud_firestore.dartthat declares support for platforms:Android,iOS,Windows,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:paginated_query_stream_builder/paginated_query_stream_builder.dartthat imports:package:paginated_query_stream_builder/src/views/query_stream_list_view.dartthat imports:package:paginated_query_stream_builder/src/query_stream_view.dartthat imports:package:paginated_query_stream_builder/src/controller.dartthat imports:package:logger/logger.dartthat imports:package:logger/src/outputs/advanced_file_output_stub.dartthat imports:dart:io
0/50 points: code has no errors, warnings, lints, or formatting issues
Found 3 issues. Showing the first 2:
ERROR: Too many positional arguments: 1 expected, but 3 found.
lib/src/controller.dart:262:58
╷
262 │ .e('An error was thrown by one of the streams!', e, StackTrace.current);
│ ^
╵
To reproduce make sure you are using the lints_core and run flutter analyze lib/src/controller.dart
INFO: Missing type annotation.
lib/src/query_stream_view.dart:118:20
╷
118 │ Widget buildItem(context, index) {
│ ^^^^^^^
╵
To reproduce make sure you are using the lints_core and run flutter analyze lib/src/query_stream_view.dart
10/10 points: All of the package dependencies are supported in the latest version
| Package | Constraint | Compatible | Latest | Notes |
|---|---|---|---|---|
cloud_firestore |
any |
6.1.2 | 6.1.2 | |
logger |
any |
2.6.2 | 2.6.2 |
Transitive dependencies
| Package | Constraint | Compatible | Latest | Notes |
|---|---|---|---|---|
_flutterfire_internals |
- | 1.3.66 | 1.3.66 | |
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.6 | 7.0.6 | |
cloud_firestore_web |
- | 5.1.2 | 5.1.2 | |
collection |
- | 1.19.1 | 1.19.1 | |
fake_async |
- | 1.3.3 | 1.3.3 | |
firebase_core |
- | 4.4.0 | 4.4.0 | |
firebase_core_platform_interface |
- | 6.0.2 | 6.0.2 | |
firebase_core_web |
- | 3.4.0 | 3.4.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.18 | |
material_color_utilities |
- | 0.11.1 | 0.13.0 | |
meta |
- | 1.17.0 | 1.18.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.7 | 0.7.9 | |
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
0/20 points: Compatible with dependency constraint lower bounds
downgrade analysis failed failed with 11 errors:
WRONG_NUMBER_OF_TYPE_ARGUMENTS-lib/src/controller.dart:26:14- The type 'Query' is declared with 0 type parameters, but 1 type arguments were given.WRONG_NUMBER_OF_TYPE_ARGUMENTS-lib/src/controller.dart:41:33- The type 'QuerySnapshot' is declared with 0 type parameters, but 1 type arguments were given.WRONG_NUMBER_OF_TYPE_ARGUMENTS-lib/src/controller.dart:43:22- The type 'QuerySnapshot' is declared with 0 type parameters, but 1 type arguments were given.
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.23.8, Flutter 3.38.6, Dart 3.10.7.
Check the analysis log for details.