file_cache 0.2.0 copy "file_cache: ^0.2.0" to clipboard
file_cache: ^0.2.0 copied to clipboard

outdated

File cached Json,Buffer,FileCacheImage for flutter package project.

80/ 160
pub points
42
downloads

We analyzed this package 5 hours 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: BSD-2-Clause.

Failed report section
Provide documentation
10 / 20trigger folding of the section

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

17 out of 50 API elements (34.0 %) have documentation comments.

Some symbols that are missing documentation: file_cache, file_cache.CacheEntry, file_cache.CacheEntry.CacheEntry.new, file_cache.CacheEntry.bytes, file_cache.CacheEntry.ctime.

Failed check 0/10 points: Package has an example

No example found.

See package layout guidelines on how to add an example.

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

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

  • ✓ Android

  • ✓ iOS

  • ✓ Windows

  • ✓ Linux

  • ✓ macOS

These platforms are not supported:

Package does not support platform `Web`.

Because:

  • package:file_cache/file_cache.dart that imports:
  • package:file_cache/src/file_cache_image.dart that imports:
  • package:file_cache/src/file_cache.dart that imports:
  • package:path_provider/path_provider.dart that declares support for platforms: Android, iOS, Windows, Linux, macOS.
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 21 issues. Showing the first 2:

ERROR: Undefined class 'DecoderCallback'.

lib/src/file_cache_image.dart:29:49

   ╷
29 │   ImageStreamCompleter load(FileCacheImage key, DecoderCallback decode) {
   │                                                 ^^^^^^^^^^^^^^^
   ╵

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

ERROR: The method 'hashValues' isn't defined for the type 'FileCacheImage'.

lib/src/file_cache_image.dart:52:23

   ╷
52 │   int get hashCode => hashValues(url, scale);
   │                       ^^^^^^^^^^
   ╵

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

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

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

Package Constraint Compatible Latest Notes
path_provider ^2.0.1 2.1.5 2.1.5
quiver ^3.0.0 3.2.2 3.2.2
Transitive dependencies
Package Constraint Compatible Latest Notes
async - 2.13.0 2.13.0
boolean_selector - 2.1.2 2.1.2
characters - 1.4.0 1.4.1
code_assets - 1.0.0 1.0.0
collection - 1.19.1 1.19.1
crypto - 3.0.7 3.0.7
ffi - 2.1.5 2.1.5
file - 7.0.1 7.0.1
glob - 2.1.3 2.1.3
hooks - 1.0.0 1.0.0
logging - 1.3.0 1.3.0
matcher - 0.12.18 0.12.18
material_color_utilities - 0.11.1 0.13.0
meta - 1.17.0 1.18.0
native_toolchain_c - 0.17.4 0.17.4
objective_c - 9.2.4 9.2.4
path - 1.9.1 1.9.1
path_provider_android - 2.2.22 2.2.22
path_provider_foundation - 2.6.0 2.6.0
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
pub_semver - 2.2.0 2.2.0
source_span - 1.10.1 1.10.1
stack_trace - 1.12.1 1.12.1
stream_channel - 2.1.4 2.1.4
string_scanner - 1.4.1 1.4.1
term_glyph - 1.2.2 1.2.2
test_api - 0.7.9 0.7.9
typed_data - 1.4.0 1.4.0
vector_math - 2.2.0 2.2.0
xdg_directories - 1.1.0 1.1.0
yaml - 3.1.3 3.1.3

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

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 2 errors:

  • UNDEFINED_CLASS - lib/src/file_cache_image.dart:29:49 - Undefined class 'DecoderCallback'.
  • UNDEFINED_METHOD - lib/src/file_cache_image.dart:52:23 - The method 'hashValues' isn't defined for the type 'FileCacheImage'.

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.8, Flutter 3.38.6, Dart 3.10.7.

Check the analysis log for details.

Weekly downloads

Display as:
By versions:
5
likes
80
points
42
downloads

Publisher

unverified uploader

Weekly Downloads

File cached Json,Buffer,FileCacheImage for flutter package project.

Repository (GitHub)
View/report issues

Documentation

API reference

License

BSD-2-Clause (license)

Dependencies

flutter, path_provider, quiver

More

Packages that depend on file_cache