data_cache_manager 1.2.0 copy "data_cache_manager: ^1.2.0" to clipboard
data_cache_manager: ^1.2.0 copied to clipboard

A Flutter cache manager plugin for storing and managing Dart data types.

4
likes
130/ 160
pub points
224
downloads

We analyzed this package 4 days ago, and awarded it 130 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

91 out of 102 API elements (89.2 %) have documentation comments.

Some symbols that are missing documentation: data_cache_manager, data_cache_manager.CachedDataCopyWith, data_cache_manager.CachedDataCopyWith.copyWith, data_cache_manager.DataCacheManager.isCleanupTaskSet, data_cache_manager.DataStoreSqflite.DataStoreSqflite.fromDb.

10/10 points: Package has an example

failed
Platform support
20 / 20trigger folding of the section

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

  • ✓ Android

  • ✓ iOS

These platforms are not supported:

Package does not support platform `Windows`.

Because:

  • package:data_cache_manager/data_cache_manager.dart that declares support for platforms: Android, iOS.
Package does not support platform `Linux`.

Because:

  • package:data_cache_manager/data_cache_manager.dart that declares support for platforms: Android, iOS.
Package does not support platform `macOS`.

Because:

  • package:data_cache_manager/data_cache_manager.dart that declares support for platforms: Android, iOS.
Package does not support platform `Web`.

Because:

  • package:data_cache_manager/data_cache_manager.dart that declares support for platforms: Android, iOS.

0/0 points: WASM compatibility

Package not compatible with runtime wasm

Because:

  • package:data_cache_manager/data_cache_manager.dart that imports:
  • package:data_cache_manager/src/data_store/data_store.dart that imports:
  • package:data_cache_manager/src/data_store/data_store_sqflite.dart that imports:
  • dart:io

This package is not compatible with runtime wasm, and will not be rewarded full points in a future version of the scoring model.

See https://dart.dev/web/wasm for details.

OK
Pass static analysis
50 / 50trigger folding of the section

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

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
copy_with_extension ^4.0.0 4.0.4 6.0.0
equatable ^2.0.0 2.0.7 2.0.7
flutter flutter 0.0.0 0.0.0
json_annotation ^4.3.0 4.9.0 4.9.0
ntp ^2.0.0 2.0.0 2.0.0
path ^1.8.0 1.9.1 1.9.1
sqflite ^2.0.0 2.4.1 2.4.1
Transitive dependencies
Package Constraint Compatible Latest
characters - 1.3.0 1.4.0
collection - 1.19.0 1.19.1
material_color_utilities - 0.11.1 0.12.0
meta - 1.15.0 1.16.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
sqflite_android - 2.4.0 2.4.0
sqflite_common - 2.5.4+6 2.5.4+6
sqflite_darwin - 2.4.1+1 2.4.1+1
sqflite_platform_interface - 2.4.0 2.4.0
synchronized - 3.3.0+3 3.3.0+3
vector_math - 2.1.4 2.1.4

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

The constraint `^4.0.0` on copy_with_extension does not support the stable version `5.0.0`.

Try running dart pub upgrade --major-versions copy_with_extension 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 2 errors:

  • ARGUMENT_TYPE_NOT_ASSIGNABLE - lib/src/data_store/data_store_sqflite.dart:33:23 - The argument type 'String?' can't be assigned to the parameter type 'String'.
  • ARGUMENT_TYPE_NOT_ASSIGNABLE - lib/src/data_store/data_store_sqflite.dart:34:21 - The argument type 'String?' can't be assigned to the parameter type 'String'.

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.

4
likes
130
points
224
downloads

Publisher

unverified uploader

Weekly Downloads

A Flutter cache manager plugin for storing and managing Dart data types.

Repository (GitHub)
View/report issues

Documentation

API reference

License

MIT (license)

Dependencies

copy_with_extension, equatable, flutter, json_annotation, ntp, path, sqflite

More

Packages that depend on data_cache_manager