firebase_image 1.1.1 copy "firebase_image: ^1.1.1" to clipboard
firebase_image: ^1.1.1 copied to clipboard

A cached Flutter ImageProvider for Firebase Cloud Storage image objects.

137
likes
80/ 140
pub points
79%
popularity

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

OK
Follow Dart file conventions
30 / 30trigger folding of the section

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: ISC.

OK
Provide documentation
20 / 20trigger folding of the section

10/10 points: 20% or more of the public API has dartdoc comments

10 out of 16 API elements (62.5 %) have documentation comments.

Some symbols that are missing documentation: firebase_image, firebase_image.CacheRefreshStrategy, firebase_image.CacheRefreshStrategy.CacheRefreshStrategy, firebase_image.FirebaseImage, firebase_image.FirebaseImage.load.

10/10 points: Package has an example

OK
Platform support
20 / 20trigger folding of the section

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:firebase_image/firebase_image.dart that imports:
  • package:firebase_image/src/firebase_image.dart that imports:
  • package:firebase_storage/firebase_storage.dart that declares support for platforms: Android, iOS, macOS, Web.
Package does not support platform `Linux`.

Because:

  • package:firebase_image/firebase_image.dart that imports:
  • package:firebase_image/src/firebase_image.dart that imports:
  • package:firebase_storage/firebase_storage.dart that declares support for platforms: Android, iOS, macOS, Web.
Package does not support platform `Web`.

Because:

  • package:firebase_image/firebase_image.dart that imports:
  • package:firebase_image/src/firebase_image.dart that imports:
  • package:firebase_image/src/cache_manager.dart that imports:
  • package:sqflite/sqflite.dart that declares support for platforms: Android, iOS, macOS.
failed
Pass static analysis
0 / 50trigger folding of the section

0/50 points: code has no errors, warnings, lints, or formatting issues

Found 7 issues. Showing the first 2:

ERROR: The method 'instantiateImageCodec' isn't defined for the type 'PaintingBinding'.

lib/src/firebase_image.dart:109:10

    ╷
109 │         .instantiateImageCodec(await _fetchImage());
    │          ^^^^^^^^^^^^^^^^^^^^^
    ╵

To reproduce make sure you are using the lints_core and run flutter analyze lib/src/firebase_image.dart

ERROR: Undefined class 'DecoderCallback'.

lib/src/firebase_image.dart:118:48

    ╷
118 │   ImageStreamCompleter load(FirebaseImage key, DecoderCallback decode) {
    │                                                ^^^^^^^^^^^^^^^
    ╵

To reproduce make sure you are using the lints_core and run flutter analyze lib/src/firebase_image.dart

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

0/10 points: All of the package dependencies are supported in the latest version

Package Constraint Compatible Latest
firebase_core ^1.7.0 1.24.0 2.30.0
firebase_storage ^10.0.5 10.3.11 11.7.2
flutter flutter 0.0.0 0.0.0
path ^1.8.0 1.9.0 1.9.0
path_provider ^2.0.5 2.1.3 2.1.3
sqflite ^2.0.0+4 2.3.3 2.3.3
Transitive dependencies
Package Constraint Compatible Latest
_flutterfire_internals - 1.0.2 1.3.30
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 - 5.7.7 6.2.0
cloud_firestore_web - 2.8.10 3.12.0
collection - 1.18.0 1.18.0
fake_async - 1.3.1 1.3.1
ffi - 2.1.2 2.1.2
firebase_core_platform_interface - 4.8.0 5.0.0
firebase_core_web - 1.7.3 2.15.0
firebase_storage_platform_interface - 4.1.19 5.1.17
firebase_storage_web - 3.3.9 3.9.2
flutter_test - 0.0.0 0.0.0
flutter_web_plugins - 0.0.0 0.0.0
http - 0.13.6 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
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_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
sky_engine - 0.0.99 0.0.99
source_span - 1.10.0 1.10.0
sqflite_common - 2.5.4 2.5.4
stack_trace - 1.11.1 1.11.1
stream_channel - 2.1.2 2.1.2
string_scanner - 1.2.0 1.2.0
synchronized - 3.1.0+1 3.1.0+1
term_glyph - 1.2.1 1.2.1
test_api - 0.6.1 0.7.1
typed_data - 1.3.2 1.3.2
vector_math - 2.1.4 2.1.4
vm_service - 13.0.0 14.2.1
win32 - 5.4.0 5.4.0
xdg_directories - 1.0.4 1.0.4

To reproduce run dart pub outdated --no-dev-dependencies --up-to-date --no-dependency-overrides.

The constraint `^1.7.0` on firebase_core does not support the stable version `2.0.0`.

Try running dart pub upgrade --major-versions firebase_core to update the constraint.

The constraint `^10.0.5` on firebase_storage does not support the stable version `11.0.0`.

Try running dart pub upgrade --major-versions firebase_storage 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.

137
likes
80
pub points
79%
popularity

Publisher

verified publishermattreid.dev

A cached Flutter ImageProvider for Firebase Cloud Storage image objects.

Repository (GitHub)
View/report issues

Documentation

API reference

License

ISC (LICENSE)

Dependencies

firebase_core, firebase_storage, flutter, path, path_provider, sqflite

More

Packages that depend on firebase_image