paulonia_cache_image 1.1.0 copy "paulonia_cache_image: ^1.1.0" to clipboard
paulonia_cache_image: ^1.1.0 copied to clipboard

Flutter package for cache images in storage or memory from the network or Google Cloud Storage. It supports Android, iOS and Web.

35
likes
80/ 160
pub points
150
downloads

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

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

OK
Provide documentation
20 / 20trigger folding of the section

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

35 out of 81 API elements (43.2 %) have documentation comments.

Some symbols that are missing documentation: InMemoryManager, InMemoryManager.InMemoryManager, InMemoryManager.InMemoryManager.InMemoryManager, InMemoryManager.InMemoryManager.maxInMemoryImages, InMemoryManager.InMemoryManager.savedImages.

10/10 points: Package has an example

failed
Platform support
20 / 20trigger folding of the section

20/20 points: Supports 5 of 6 possible platforms (iOS, Android, Web, Windows, macOS, Linux)

  • ✓ Android

  • ✓ iOS

  • ✓ Windows

  • ✓ macOS

  • ✓ Web

These platforms are not supported:

Package does not support platform `Linux`.

Because:

  • package:paulonia_cache_image/paulonia_cache_image.dart that imports:
  • package:paulonia_cache_image/paulonia_cache_image_mobile.dart that imports:
  • package:paulonia_utils/paulonia_utils.dart that imports:
  • package:paulonia_utils/paulonia_utils_mobile.dart that imports:
  • package:device_info_plus/device_info_plus.dart that imports:
  • package:device_info_plus/src/device_info_plus_windows.dart that imports:
  • package:win32_registry/win32_registry.dart that declares support for platforms: Windows.

These issues are present but do not affect the score, because they may not originate in your package:

Package does not support platform `Android`.

Because:

  • package:paulonia_cache_image/paulonia_cache_image.dart that imports:
  • package:paulonia_cache_image/paulonia_cache_image_mobile.dart that imports:
  • package:paulonia_utils/paulonia_utils.dart that imports:
  • package:paulonia_utils/paulonia_utils_mobile.dart that imports:
  • package:device_info_plus/device_info_plus.dart that imports:
  • package:device_info_plus/src/device_info_plus_windows.dart that imports:
  • package:win32_registry/win32_registry.dart that declares support for platforms: Windows.
Package does not support platform `iOS`.

Because:

  • package:paulonia_cache_image/paulonia_cache_image.dart that imports:
  • package:paulonia_cache_image/paulonia_cache_image_mobile.dart that imports:
  • package:paulonia_utils/paulonia_utils.dart that imports:
  • package:paulonia_utils/paulonia_utils_mobile.dart that imports:
  • package:device_info_plus/device_info_plus.dart that imports:
  • package:device_info_plus/src/device_info_plus_windows.dart that imports:
  • package:win32_registry/win32_registry.dart that declares support for platforms: Windows.
Package does not support platform `Windows`.

Because:

  • package:paulonia_cache_image/paulonia_cache_image.dart that imports:
  • package:paulonia_cache_image/paulonia_cache_image_mobile.dart that imports:
  • package:paulonia_utils/paulonia_utils.dart that imports:
  • package:connectivity_plus/connectivity_plus.dart that imports:
  • package:connectivity_plus/src/connectivity_plus_linux.dart that imports:
  • package:nm/nm.dart that declares support for platforms: Linux.
Package does not support platform `macOS`.

Because:

  • package:paulonia_cache_image/paulonia_cache_image.dart that imports:
  • package:paulonia_cache_image/paulonia_cache_image_mobile.dart that imports:
  • package:paulonia_utils/paulonia_utils.dart that imports:
  • package:paulonia_utils/paulonia_utils_mobile.dart that imports:
  • package:device_info_plus/device_info_plus.dart that imports:
  • package:device_info_plus/src/device_info_plus_windows.dart that imports:
  • package:win32_registry/win32_registry.dart that declares support for platforms: Windows.
Package not compatible with platform Web

Because:

  • package:paulonia_cache_image/paulonia_cache_image.dart that imports:
  • package:paulonia_cache_image/paulonia_cache_image_web.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

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.

failed
Pass static analysis
0 / 50trigger folding of the section

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

Found 9 issues. Showing the first 2:

ERROR: Undefined class 'DecoderCallback'.

lib/paulonia_cache_image.dart:89:46

   ╷
89 │   ImageStreamCompleter load(PCacheImage key, DecoderCallback decode) {
   │                                              ^^^^^^^^^^^^^^^
   ╵

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

WARNING: The method doesn't override an inherited method.

lib/paulonia_cache_image.dart:89:24

   ╷
89 │   ImageStreamCompleter load(PCacheImage key, DecoderCallback decode) {
   │                        ^^^^
   ╵

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

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

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

Package Constraint Compatible Latest
firebase_core ^2.15.1 2.32.0 3.9.0
firebase_storage ^11.2.6 11.6.5 12.3.7
flutter flutter 0.0.0 0.0.0
hive ^2.2.3 2.2.3 2.2.3
http ^1.1.0 1.2.2 1.2.2
path_provider ^2.1.1 2.1.5 2.1.5
paulonia_utils ^0.5.0 0.5.0 0.5.0
Transitive dependencies
Package Constraint Compatible Latest
_flutterfire_internals - 1.3.35 1.3.48
args - 2.6.0 2.6.0
async - 2.11.0 2.12.0
boolean_selector - 2.1.1 2.1.2
characters - 1.3.0 1.4.0
clock - 1.1.1 1.1.2
collection - 1.19.0 1.19.1
connectivity_plus - 4.0.2 6.1.1
connectivity_plus_platform_interface - 1.2.4 2.0.1
crypto - 3.0.6 3.0.6
dbus - 0.7.10 0.7.10
device_info_plus - 9.1.2 11.2.0
device_info_plus_platform_interface - 7.0.2 7.0.2
fake_async - 1.3.1 1.3.2
ffi - 2.1.3 2.1.3
file - 7.0.1 7.0.1
firebase_core_platform_interface - 5.4.0 5.4.0
firebase_core_web - 2.19.0 2.19.0
firebase_storage_platform_interface - 5.1.22 5.1.34
firebase_storage_web - 3.6.22 3.10.6
flutter_test - 0.0.0 0.0.0
flutter_web_plugins - 0.0.0 0.0.0
http_parser - 4.1.1 4.1.1
js - 0.6.7 0.7.1
leak_tracker - 10.0.7 10.0.8
leak_tracker_flutter_testing - 3.0.8 3.0.9
leak_tracker_testing - 3.0.1 3.0.1
matcher - 0.12.16+1 0.12.17
material_color_utilities - 0.11.1 0.12.0
meta - 1.15.0 1.16.0
nm - 0.5.0 0.5.0
ntp - 2.0.0 2.0.0
path - 1.9.0 1.9.1
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
petitparser - 6.0.2 6.0.2
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.0 1.10.1
stack_trace - 1.12.0 1.12.1
stream_channel - 2.1.2 2.1.3
string_scanner - 1.3.0 1.4.1
term_glyph - 1.2.1 1.2.2
test_api - 0.7.3 0.7.4
typed_data - 1.4.0 1.4.0
vector_math - 2.1.4 2.1.4
vm_service - 14.3.0 15.0.0
web - 1.1.0 1.1.0
win32 - 5.9.0 5.9.0
win32_registry - 1.1.5 2.0.1
xdg_directories - 1.1.0 1.1.0
xml - 6.5.0 6.5.0

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

The constraint `^2.15.1` on firebase_core does not support the stable version `3.0.0`.

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

The constraint `^11.2.6` on firebase_storage does not support the stable version `12.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 1 error:

  • UNDEFINED_CLASS - lib/paulonia_cache_image.dart:89:46 - Undefined class 'DecoderCallback'.

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.

35
likes
80
points
150
downloads

Publisher

verified publisherpaulonia.dev

Weekly Downloads

Flutter package for cache images in storage or memory from the network or Google Cloud Storage. It supports Android, iOS and Web.

Homepage
Repository (GitHub)
View/report issues

Documentation

API reference

License

MIT (license)

Dependencies

firebase_core, firebase_storage, flutter, hive, http, path_provider, paulonia_utils

More

Packages that depend on paulonia_cache_image