rdev_riverpod_stored_file 0.2.5 copy "rdev_riverpod_stored_file: ^0.2.5" to clipboard
rdev_riverpod_stored_file: ^0.2.5 copied to clipboard

Manage files

0
likes
110/ 140
pub points
51%
popularity

We analyzed this package 37 hours ago, and awarded it 110 pub points (of a possible 140):

failed
Follow Dart file conventions
20 / 30trigger folding of the section

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.

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.

failed
Provide documentation
10 / 20trigger folding of the section

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.

OK
Platform support
20 / 20trigger folding of the section

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
partial
Pass static analysis
40 / 50trigger folding of the section

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

OK
Support up-to-date dependencies
20 / 20trigger folding of the section

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
Package Constraint Compatible Latest
_discoveryapis_commons - 1.0.6 1.0.6
_flutterfire_internals - 1.3.32 1.3.32
ansicolor - 2.0.2 2.0.2
args - 2.5.0 2.5.0
async - 2.11.0 2.11.0
boolean_selector - 2.1.1 2.1.1
characters - 1.3.0 1.3.0
clock - 1.1.1 1.1.1
cloud_firestore_platform_interface - 6.2.2 6.2.2
cloud_firestore_web - 3.12.2 3.12.2
cloud_functions_platform_interface - 5.5.25 5.5.25
cloud_functions_web - 4.9.3 4.9.3
collection - 1.18.0 1.18.0
crypto - 3.0.3 3.0.3
facebook_auth_desktop - 1.0.3 1.0.3
fake_async - 1.3.1 1.3.1
ffi - 2.1.2 2.1.2
firebase_analytics - 10.10.4 10.10.4
firebase_analytics_platform_interface - 3.10.5 3.10.5
firebase_analytics_web - 0.5.7+4 0.5.7+4
firebase_auth - 4.19.4 4.19.4
firebase_auth_platform_interface - 7.2.5 7.2.5
firebase_auth_web - 5.11.4 5.11.4
firebase_core - 2.30.1 2.30.1
firebase_core_platform_interface - 5.0.0 5.0.0
firebase_core_web - 2.16.0 2.16.0
firebase_messaging - 14.9.1 14.9.1
firebase_messaging_platform_interface - 4.5.34 4.5.34
firebase_messaging_web - 3.8.4 3.8.4
firebase_storage_platform_interface - 5.1.19 5.1.19
firebase_storage_web - 3.9.4 3.9.4
flutter_facebook_auth - 6.2.0 6.2.0
flutter_facebook_auth_platform_interface - 5.0.0 5.0.0
flutter_facebook_auth_web - 5.0.0 5.0.1
flutter_hooks - 0.18.6 0.20.5
flutter_riverpod - 2.5.1 2.5.1
flutter_secure_storage - 9.0.0 9.0.0
flutter_secure_storage_linux - 1.2.0 1.2.0
flutter_secure_storage_macos - 3.0.1 3.0.1
flutter_secure_storage_platform_interface - 1.0.2 1.0.2
flutter_secure_storage_web - 1.1.2 1.1.2
flutter_secure_storage_windows - 3.0.0 3.0.0
flutter_test - 0.0.0 0.0.0
flutter_web_plugins - 0.0.0 0.0.0
google_identity_services_web - 0.3.1+1 0.3.1+1
google_sign_in - 6.2.1 6.2.1
google_sign_in_android - 6.1.23 6.1.23
google_sign_in_ios - 5.7.6 5.7.6
google_sign_in_platform_interface - 2.4.5 2.4.5
google_sign_in_web - 0.12.4 0.12.4
googleapis - 11.4.0 13.1.0
googleapis_auth - 1.6.0 1.6.0
http - 1.2.1 1.2.1
http_parser - 4.0.2 4.0.2
js - 0.6.7 0.7.1
leak_tracker - 10.0.0 10.0.5
leak_tracker_flutter_testing - 2.0.1 3.0.5
leak_tracker_testing - 2.0.1 3.0.1
logging - 1.2.0 1.2.0
matcher - 0.12.16+1 0.12.16+1
material_color_utilities - 0.8.0 0.11.1
meta - 1.11.0 1.14.0
path - 1.9.0 1.9.0
path_provider - 2.1.3 2.1.3
path_provider_android - 2.2.4 2.2.4
path_provider_foundation - 2.3.2 2.3.2
path_provider_linux - 2.2.1 2.2.1
path_provider_platform_interface - 2.1.2 2.1.2
path_provider_windows - 2.2.1 2.2.1
platform - 3.1.4 3.1.4
plugin_platform_interface - 2.1.8 2.1.8
riverpod - 2.5.1 2.5.1
sky_engine - 0.0.99 0.0.99
source_span - 1.10.0 1.10.0
stack_trace - 1.11.1 1.11.1
state_notifier - 1.0.0 1.0.0
stream_channel - 2.1.2 2.1.2
string_scanner - 1.2.0 1.2.0
talker_logger - 4.1.3 4.1.3
term_glyph - 1.2.1 1.2.1
test_api - 0.6.1 0.7.1
typed_data - 1.3.2 1.3.2
url_launcher - 6.2.6 6.2.6
url_launcher_android - 6.3.1 6.3.1
url_launcher_ios - 6.2.5 6.2.5
url_launcher_linux - 3.1.1 3.1.1
url_launcher_macos - 3.1.0 3.1.0
url_launcher_platform_interface - 2.3.2 2.3.2
url_launcher_web - 2.3.1 2.3.1
url_launcher_windows - 3.1.1 3.1.1
vector_math - 2.1.4 2.1.4
vm_service - 13.0.0 14.2.1
web - 0.5.1 0.5.1
win32 - 5.5.0 5.5.0
xdg_directories - 1.0.4 1.0.4

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.