disposable_cached_images 1.2.1 copy "disposable_cached_images: ^1.2.1" to clipboard
disposable_cached_images: ^1.2.1 copied to clipboard

A flutter package for displaying and releasing images from memory.

80/ 160
pub points
158
downloads

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

Passed report section
Follow Dart file conventions
30 / 30trigger folding of the section

Passed check 10/10 points: Provide a valid pubspec.yaml

Passed check 5/5 points: Provide a valid README.md

Passed check 5/5 points: Provide a valid CHANGELOG.md

Passed check 10/10 points: Use an OSI-approved license

Detected license: MIT.

Passed report section
Provide documentation
20 / 20trigger folding of the section

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

51 out of 121 API elements (42.1 %) have documentation comments.

Some symbols that are missing documentation: callable_function, callable_function.JSHttpClientHelper, callable_function.JSHttpClientHelper.JSHttpClientHelper.new, callable_function.JSHttpClientHelper.cancelDownload, callable_function.JSHttpClientHelper.download.

Passed check 10/10 points: Package has an example

Passed report section
Platform support
20 / 20trigger folding of the section

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

  • ✓ Android

  • ✓ iOS

  • ✓ Windows

  • ✓ Linux

  • ✓ macOS

  • ✓ Web

Failed report section
Pass static analysis
0 / 50trigger folding of the section

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

Found 18 issues. Showing the first 2:

ERROR: The method 'allowInterop' isn't defined for the type 'JSHttpClientHelper'.

lib/helpers/web/dart_js.dart:114:23

    ╷
114 │     _downloadStream = allowInterop(_updateDownloadStream);
    │                       ^^^^^^^^^^^^
    ╵

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

INFO: The part-of directive uses a library name.

lib/decoded_images/decoded_images.dart:3:1

  ╷
3 │ part of disposable_cached_images;
  │ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  ╵

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

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

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

Package Constraint Compatible Latest Notes
flutter_riverpod >=2.1.3 <3.0.0 2.6.1 3.1.0
isolate_generator_annotation >=0.0.6+1 <2.0.0 0.0.6+1 0.0.6+1
js >=0.6.5 <1.0.0 0.7.2 0.7.2 Discontinued
path_provider >=2.0.12 <3.0.0 2.1.5 2.1.5
Transitive dependencies
Package Constraint Compatible Latest Notes
characters - 1.4.0 1.4.1
collection - 1.19.1 1.19.1
ffi - 2.1.5 2.1.5
material_color_utilities - 0.11.1 0.13.0
meta - 1.17.0 1.17.0
path - 1.9.1 1.9.1
path_provider_android - 2.2.22 2.2.22
path_provider_foundation - 2.5.1 2.5.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
riverpod - 2.6.1 3.1.0
stack_trace - 1.12.1 1.12.1
state_notifier - 1.0.0 1.0.0
vector_math - 2.2.0 2.2.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 `>=2.1.3 <3.0.0` on flutter_riverpod does not support the stable version `3.0.0`.

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

The package has one or more discontinued direct dependencies.

Discontinued packages are no longer maintained, and can end up being a liability.

Consider migrating away from these dependencies:

  • js.

Passed check 10/10 points: Package supports latest stable Dart and Flutter SDKs

Failed check 0/20 points: Compatible with dependency constraint lower bounds

downgrade analysis failed failed with 1 error:

  • UNDEFINED_METHOD - lib/helpers/web/dart_js.dart:114:23 - The method 'allowInterop' isn't defined for the type 'JSHttpClientHelper'.

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.23.5, Flutter 3.38.5, Dart 3.10.4.

Check the analysis log for details.

Weekly downloads

Display as:
By versions:
36
likes
80
points
158
downloads

Publisher

unverified uploader

Weekly Downloads

A flutter package for displaying and releasing images from memory.

Repository (GitHub)
View/report issues

Documentation

API reference

License

MIT (license)

Dependencies

flutter, flutter_riverpod, isolate_generator_annotation, js, path_provider

More

Packages that depend on disposable_cached_images