rdev_riverpod_stored_file 0.4.0
rdev_riverpod_stored_file: ^0.4.0 copied to clipboard
Manage files
We analyzed this package 38 hours ago, and awarded it 130 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.
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.
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
47 out of 146 API elements (32.2 %) 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 3 of 6 possible platforms (iOS, Android, Web, Windows, macOS, Linux)
-
✓ Android
-
✓ iOS
-
✓ macOS
These platforms are not supported:
Package does not support platform `Windows`.
Because:
package:rdev_riverpod_stored_file/application/stored_file_data_service.dartthat imports:package:rdev_riverpod_firebase/firebase_providers.dartthat imports:package:firebase_messaging/firebase_messaging.dartthat declares support for platforms:Android,iOS,macOS,Web.
Package does not support platform `Linux`.
Because:
package:rdev_riverpod_stored_file/application/storage_service.dartthat imports:package:firebase_storage/firebase_storage.dartthat declares support for platforms:Android,iOS,Windows,macOS,Web.
Package not compatible with platform Web
Because:
package:rdev_riverpod_stored_file/application/storage_service.dartthat imports:package:firebase_storage/firebase_storage.dartthat imports:package:firebase_storage_platform_interface/firebase_storage_platform_interface.dartthat imports:package:firebase_storage_platform_interface/src/platform_interface/platform_interface_reference.dartthat imports:dart:io
40/50 points: code has no errors, warnings, lints, or formatting issues
Found 13 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 | Notes |
|---|---|---|---|---|
cloud_firestore |
6.1.1 |
6.1.1 | 6.1.1 | |
cloud_functions |
6.0.5 |
6.0.5 | 6.0.5 | |
equatable |
^2.0.7 |
2.0.7 | 2.0.7 | |
firebase_storage |
13.0.5 |
13.0.5 | 13.0.5 | |
hooks_riverpod |
^3.1.0 |
3.1.0 | 3.1.0 | |
json_annotation |
^4.9.0 |
4.9.0 | 4.9.0 | |
mime |
^2.0.0 |
2.0.0 | 2.0.0 | |
rdev_errors_logging |
any |
0.3.0 | 0.3.0 | |
rdev_helpers |
any |
0.3.0 | 0.3.0 | |
rdev_riverpod_firebase |
any |
0.5.0 | 0.5.0 | |
talker |
^5.1.9 |
5.1.9 | 5.1.9 |
Transitive dependencies
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.3, Flutter 3.38.5, Dart 3.10.4.
Check the analysis log for details.