rdev_riverpod_stored_file 0.2.5 rdev_riverpod_stored_file: ^0.2.5 copied to clipboard
Manage files
We analyzed this package 37 hours ago, and awarded it 110 pub points (of a possible 140):
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 60 to 180 characters to describe the package, what it does, and its target use case.
Repository URL doesn't exist.
At the time of the analysis https://github.com/r-dev-limited/placebo-life
was unreachable. Make sure that the website is reachable via HEAD
requests.
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: rdev_riverpod_stored_file
, - contains a
version
property, and, - does not contain a
publish_to
property.
- contains
Unable to access git repository: Failed to run remote show origin
.
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
46 out of 146 API elements (31.5 %) have documentation comments.
Some symbols that are missing documentation: storage_providers
, storage_providers.fileDataProvider
, storage_providers.storageServiceProvider
, storage_service
, storage_service.StorageService
.
0/10 points: Package has an example
No example found.
See package layout guidelines on how to add 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:rdev_riverpod_stored_file/application/stored_file_data_service.dart
that imports:package:rdev_riverpod_firebase/firebase_providers.dart
that imports:package:firebase_messaging/firebase_messaging.dart
that declares support for platforms:Android
,iOS
,macOS
,Web
.
Package does not support platform `Linux`.
Because:
package:rdev_riverpod_stored_file/application/storage_service.dart
that imports:package:firebase_storage/firebase_storage.dart
that 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:rdev_riverpod_stored_file/application/storage_service.dart
that imports:package:firebase_storage/firebase_storage.dart
that imports:package:firebase_storage_platform_interface/firebase_storage_platform_interface.dart
that imports:package:firebase_storage_platform_interface/src/platform_interface/platform_interface_reference.dart
that imports:dart:io
40/50 points: code has no errors, warnings, lints, or formatting issues
Found 6 issues. Showing the first 2:
INFO: Uses 'await' on an instance of 'StoredFileModel', which is not a subtype of 'Future'.
lib/application/stored_file_data_service.dart:109:25
╷
109 │ final product = await StoredFileModel.fromDocumentSnapshot(e);
│ ^^^^^
╵
To reproduce make sure you are using the lints_core and run flutter analyze lib/application/stored_file_data_service.dart
INFO: Uses 'await' on an instance of 'StoredFileModel', which is not a subtype of 'Future'.
lib/application/stored_file_data_service.dart:134:23
╷
134 │ final model = await StoredFileModel.fromJson(data);
│ ^^^^^
╵
To reproduce make sure you are using the lints_core and run flutter analyze lib/application/stored_file_data_service.dart
10/10 points: All of the package dependencies are supported in the latest version
Package | Constraint | Compatible | Latest |
---|---|---|---|
cloud_firestore |
4.17.0 |
4.17.0 | 4.17.2 |
cloud_functions |
4.7.2 |
4.7.2 | 4.7.3 |
equatable |
^2.0.5 |
2.0.5 | 2.0.5 |
firebase_storage |
11.7.2 |
11.7.2 | 11.7.4 |
flutter |
flutter |
0.0.0 | 0.0.0 |
hooks_riverpod |
^2.3.10 |
2.5.1 | 2.5.1 |
json_annotation |
^4.8.1 |
4.9.0 | 4.9.0 |
mime |
^1.0.4 |
1.0.5 | 1.0.5 |
rdev_errors_logging |
any |
0.1.1 | 0.1.1 |
rdev_helpers |
any |
0.1.3 | 0.1.3 |
rdev_riverpod_firebase |
any |
0.3.3 | 0.3.5 |
talker |
^4.1.3 |
4.1.3 | 4.1.3 |
Transitive dependencies
To reproduce run dart pub outdated --no-dev-dependencies --up-to-date --no-dependency-overrides
.
Found 3 issues. Showing the first 2:
The constraint `4.17.0` on cloud_firestore does not support the stable version `4.17.1`, that was published 2 days ago.
When cloud_firestore is 30 days old, this package will no longer be awarded points in this category.
Try running dart pub upgrade --major-versions cloud_firestore
to update the constraint.
The constraint `4.7.2` on cloud_functions does not support the stable version `4.7.3`, that was published 2 days ago.
When cloud_functions is 30 days old, this package will no longer be awarded points in this category.
Try running dart pub upgrade --major-versions cloud_functions
to update the constraint.
10/10 points: Package supports latest stable Dart and Flutter SDKs
Analyzed with Pana 0.22.3
, Flutter 3.19.5
, Dart 3.3.3
.
Check the analysis log for details.