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

A simple and efficient caching solution for Flutter applications using SQLite.

140/ 160
pub points
39
downloads

We analyzed this package 3 days ago, and awarded it 140 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-3-Clause.

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

16 out of 21 API elements (76.2 %) have documentation comments.

Some symbols that are missing documentation: smart_cache, smart_cache.CacheInterceptor.CacheInterceptor.new, smart_cache.CacheInterceptor.defaultCacheExpiration, smart_cache.SmartCache.SmartCache.new, smart_cache.SmartCache.defaultExpiration.

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 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:smart_cache/smart_cache.dart that imports:
  • package:smart_cache/src/smart_cache.dart that imports:
  • package:smart_cache/src/database.dart that imports:
  • package:path_provider/path_provider.dart that declares support for platforms: Android, iOS, Windows, Linux, macOS.
Passed report section
Pass static analysis
50 / 50trigger folding of the section

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

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

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

Package Constraint Compatible Latest Notes
dio ^5.3.0 5.9.2 5.9.2
drift ^2.12.1 2.32.0 2.32.0
path ^1.8.3 1.9.1 1.9.1
path_provider ^2.1.1 2.1.5 2.1.5
sqlite3_flutter_libs ^0.5.15 0.5.42 0.6.0+eol
Transitive dependencies
Package Constraint Compatible Latest Notes
async - 2.13.0 2.13.0
characters - 1.4.1 1.4.1
code_assets - 1.0.0 1.0.0
collection - 1.19.1 1.19.1
convert - 3.1.2 3.1.2
crypto - 3.0.7 3.0.7
dio_web_adapter - 2.1.2 2.1.2
ffi - 2.2.0 2.2.0
file - 7.0.1 7.0.1
glob - 2.1.3 2.1.3
hooks - 1.0.2 1.0.2
http_parser - 4.1.2 4.1.2
logging - 1.3.0 1.3.0
material_color_utilities - 0.13.0 0.13.0
meta - 1.17.0 1.18.1
mime - 2.0.0 2.0.0
native_toolchain_c - 0.17.5 0.17.5
objective_c - 9.3.0 9.3.0
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.2 1.10.2
sqlite3 - 3.2.0 3.2.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
term_glyph - 1.2.2 1.2.2
typed_data - 1.4.0 1.4.0
vector_math - 2.2.0 2.2.0
web - 1.1.1 1.1.1
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.

The constraint `^0.5.15` on sqlite3_flutter_libs does not support the stable version `0.6.0+eol`, that was published 24 days ago.

When sqlite3_flutter_libs is 30 days old, this package will no longer be awarded points in this category.

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

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

  • EXTENDS_NON_CLASS - lib/src/database.g.dart:262:13 - Classes can only extend other classes.
  • SUPER_FORMAL_PARAMETER_WITHOUT_ASSOCIATED_NAMED - lib/src/database.g.dart:264:20 - No associated named super constructor parameter.
  • SUPER_FORMAL_PARAMETER_WITHOUT_ASSOCIATED_NAMED - lib/src/database.g.dart:265:20 - No associated named super constructor parameter.

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.10, Flutter 3.41.4, Dart 3.11.1.

Check the analysis log for details.

Weekly downloads

Display as:
By versions:
2
likes
140
points
39
downloads

Documentation

API reference

Publisher

verified publishermorpa.site

Weekly Downloads

A simple and efficient caching solution for Flutter applications using SQLite.

Repository (GitHub)
View/report issues

License

BSD-3-Clause (license)

Dependencies

dio, drift, flutter, path, path_provider, sqlite3_flutter_libs

More

Packages that depend on smart_cache