firebase_image 1.1.1 firebase_image: ^1.1.1 copied to clipboard
A cached Flutter ImageProvider for Firebase Cloud Storage image objects.
We analyzed this package 39 hours 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: ISC
.
10/10 points: 20% or more of the public API has dartdoc comments
10 out of 15 API elements (66.7 %) have documentation comments.
Some symbols that are missing documentation: firebase_image
, firebase_image.CacheRefreshStrategy
, firebase_image.FirebaseImage
, firebase_image.FirebaseImage.load
, firebase_image.FirebaseImage.shouldCache
.
10/10 points: Package has 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: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
.
0/0 points: WASM compatibility
Unable to detect compatibility with runtime wasm
, and this package will not be rewarded full points in a future version of the scoring model.
See https://dart.dev/web/wasm for details.
0/50 points: code has no errors, warnings, lints, or formatting issues
Found 6 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
0/10 points: All of the package dependencies are supported in the latest version
Package | Constraint | Compatible | Latest |
---|---|---|---|
firebase_core |
^1.7.0 |
1.19.0 | 3.9.0 |
firebase_storage |
^10.0.5 |
10.3.0 | 12.3.7 |
flutter |
flutter |
0.0.0 | 0.0.0 |
path |
^1.8.0 |
1.9.1 | 1.9.1 |
path_provider |
^2.0.5 |
2.1.5 | 2.1.5 |
sqflite |
^2.0.0+4 |
2.4.1 | 2.4.1 |
Transitive dependencies
Package | Constraint | Compatible | Latest |
---|---|---|---|
async |
- | 2.12.0 | 2.12.0 |
characters |
- | 1.3.0 | 1.4.0 |
collection |
- | 1.19.0 | 1.19.1 |
ffi |
- | 2.1.3 | 2.1.3 |
firebase_core_platform_interface |
- | 4.4.1 | 5.4.0 |
firebase_core_web |
- | 1.6.5 | 2.19.0 |
firebase_storage_platform_interface |
- | 4.1.19 | 5.1.34 |
firebase_storage_web |
- | 3.2.18 | 3.10.6 |
flutter_web_plugins |
- | 0.0.0 | 0.0.0 |
http |
- | 0.13.6 | 1.2.2 |
http_parser |
- | 4.1.1 | 4.1.1 |
js |
- | 0.6.7 | 0.7.1 |
material_color_utilities |
- | 0.11.1 | 0.12.0 |
meta |
- | 1.15.0 | 1.16.0 |
path_provider_android |
- | 2.2.15 | 2.2.15 |
path_provider_foundation |
- | 2.4.1 | 2.4.1 |
path_provider_linux |
- | 2.2.1 | 2.2.1 |
path_provider_platform_interface |
- | 2.1.2 | 2.1.2 |
path_provider_windows |
- | 2.3.0 | 2.3.0 |
platform |
- | 3.1.6 | 3.1.6 |
plugin_platform_interface |
- | 2.1.8 | 2.1.8 |
sky_engine |
- | 0.0.0 | 0.0.0 |
source_span |
- | 1.10.1 | 1.10.1 |
sqflite_android |
- | 2.4.0 | 2.4.0 |
sqflite_common |
- | 2.5.4+6 | 2.5.4+6 |
sqflite_darwin |
- | 2.4.1 | 2.4.1 |
sqflite_platform_interface |
- | 2.4.0 | 2.4.0 |
string_scanner |
- | 1.4.1 | 1.4.1 |
synchronized |
- | 3.3.0+3 | 3.3.0+3 |
term_glyph |
- | 1.2.2 | 1.2.2 |
typed_data |
- | 1.4.0 | 1.4.0 |
vector_math |
- | 2.1.4 | 2.1.4 |
xdg_directories |
- | 1.1.0 | 1.1.0 |
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
0/20 points: Compatible with dependency constraint lower bounds
downgrade analysis failed failed with 3 errors:
UNDEFINED_METHOD
-lib/src/firebase_image.dart:109:10
- The method 'instantiateImageCodec' isn't defined for the type 'PaintingBinding'.UNDEFINED_CLASS
-lib/src/firebase_image.dart:118:48
- Undefined class 'DecoderCallback'.UNDEFINED_METHOD
-lib/src/firebase_image.dart:134:23
- The method 'hashValues' isn't defined for the type 'FirebaseImage'.
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.22.17
, Flutter 3.27.0
, Dart 3.6.0
.
Check the analysis log for details.