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 5 days 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 | Notes |
---|---|---|---|---|
firebase_core |
^1.7.0 |
1.24.0 | 3.12.1 | |
firebase_storage |
^10.0.5 |
10.3.11 | 12.4.4 | |
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.2 | 2.4.2 |
Transitive dependencies
Package | Constraint | Compatible | Latest | Notes |
---|---|---|---|---|
_flutterfire_internals |
- | 1.0.2 | 1.3.53 | |
async |
- | 2.12.0 | 2.13.0 | |
boolean_selector |
- | 2.1.2 | 2.1.2 | |
characters |
- | 1.4.0 | 1.4.0 | |
clock |
- | 1.1.2 | 1.1.2 | |
cloud_firestore_platform_interface |
- | 5.7.7 | 6.6.5 | |
cloud_firestore_web |
- | 2.8.10 | 4.4.5 | |
collection |
- | 1.19.1 | 1.19.1 | |
fake_async |
- | 1.3.2 | 1.3.3 | |
ffi |
- | 2.1.4 | 2.1.4 | |
firebase_core_platform_interface |
- | 4.8.0 | 5.4.0 | |
firebase_core_web |
- | 1.7.3 | 2.21.1 | |
firebase_storage_platform_interface |
- | 4.1.19 | 5.2.4 | |
firebase_storage_web |
- | 3.3.9 | 3.10.11 | |
http |
- | 0.13.6 | 1.3.0 | |
http_parser |
- | 4.1.2 | 4.1.2 | |
js |
- | 0.6.7 | 0.7.2 | Discontinued |
leak_tracker |
- | 10.0.8 | 10.0.9 | |
leak_tracker_flutter_testing |
- | 3.0.9 | 3.0.9 | |
leak_tracker_testing |
- | 3.0.1 | 3.0.1 | |
matcher |
- | 0.12.17 | 0.12.17 | |
material_color_utilities |
- | 0.11.1 | 0.12.0 | |
meta |
- | 1.16.0 | 1.16.0 | |
path_provider_android |
- | 2.2.16 | 2.2.16 | |
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 | |
source_span |
- | 1.10.1 | 1.10.1 | |
sqflite_android |
- | 2.4.1 | 2.4.1 | |
sqflite_common |
- | 2.5.5 | 2.5.5 | |
sqflite_darwin |
- | 2.4.2 | 2.4.2 | |
sqflite_platform_interface |
- | 2.4.0 | 2.4.0 | |
stack_trace |
- | 1.12.1 | 1.12.1 | |
stream_channel |
- | 2.1.4 | 2.1.4 | |
string_scanner |
- | 1.4.1 | 1.4.1 | |
synchronized |
- | 3.3.1 | 3.3.1 | |
term_glyph |
- | 1.2.2 | 1.2.2 | |
test_api |
- | 0.7.4 | 0.7.4 | |
typed_data |
- | 1.4.0 | 1.4.0 | |
vector_math |
- | 2.1.4 | 2.1.4 | |
vm_service |
- | 14.3.1 | 15.0.0 | |
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.20
, Flutter 3.29.2
, Dart 3.7.2
.
Check the analysis log for details.