cache_annotations 1.0.12 copy "cache_annotations: ^1.0.12" to clipboard
cache_annotations: ^1.0.12 copied to clipboard

This package is a type conversion generator using source_gen and inspired by Retrofit to help you manage persistent cache.

110/ 160
pub points
68
downloads

We analyzed this package 5 hours ago, and awarded it 110 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.

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

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

OUT: Documenting cache_annotations... Discovering libraries... Linking elements... Precaching local docs for 676613 elements... Initialized dartdoc with 1054 libraries Generating docs for library generators.dart from package:cache_annotations/generators.dart... Generating docs for library annotations.dart from package:cache_annotations/annotations.dart... Documented 2 public libraries in 60.8 seconds ERR: warning: ambiguous reexport of cache_annotations.sortBy, canonicalization candidates: (cache_annotations, cache_annotations) -> cache_annotations (confidence 0.000) from cache_annotations.sortBy: (file:///tmp/pana_JLGZRH/lib/src/cache_generator_annotations.dart:49:7) cache_annotations: 2.210 - (_Reason.samePackage (+1.000), _Reason.packageName (+1.000), _Reason.longName (+0.01000), _Reason.sharedNamePart (+0.2000)) cache_annotations: 2.210 - (_Reason.samePackage (+1.000), _Reason.packageName (+1.000), _Reason.longName (+0.01000), _Reason.sharedNamePart (+0.2000)) Use {@canonicalFor cache_annotations.sortBy} in the desired library's documentation to resolve the ambiguity and/or override dartdoc's decision, or structure your package so the reexport is less ambiguous. The symbol will still be referenced in all candidates -- this only controls the location where it will be written and which library will be displayed in navigation for the relevant pages. The flag [76 more lines]

Failed check 0/10 points: Package has an example

No example found.

See package layout guidelines on how to add an example.

Failed report section
Platform support
0 / 20trigger folding of the section

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

These platforms are not supported:

Package not compatible with platform Android

Because:

  • package:cache_annotations/annotations.dart that imports:
  • package:cache_annotations/src/local_store_cache_mixin.dart that imports:
  • package:cache_annotations/src/localstore/localstore.dart that imports:
  • package:cache_annotations/src/localstore/src/utils/html.dart that imports:
  • dart:html
Package not compatible with platform iOS

Because:

  • package:cache_annotations/annotations.dart that imports:
  • package:cache_annotations/src/local_store_cache_mixin.dart that imports:
  • package:cache_annotations/src/localstore/localstore.dart that imports:
  • package:cache_annotations/src/localstore/src/utils/html.dart that imports:
  • dart:html
Package not compatible with platform Windows

Because:

  • package:cache_annotations/annotations.dart that imports:
  • package:cache_annotations/src/local_store_cache_mixin.dart that imports:
  • package:cache_annotations/src/localstore/localstore.dart that imports:
  • package:cache_annotations/src/localstore/src/utils/html.dart that imports:
  • dart:html
Package not compatible with platform Linux

Because:

  • package:cache_annotations/annotations.dart that imports:
  • package:cache_annotations/src/local_store_cache_mixin.dart that imports:
  • package:cache_annotations/src/localstore/localstore.dart that imports:
  • package:cache_annotations/src/localstore/src/utils/html.dart that imports:
  • dart:html
Package not compatible with platform macOS

Because:

  • package:cache_annotations/annotations.dart that imports:
  • package:cache_annotations/src/local_store_cache_mixin.dart that imports:
  • package:cache_annotations/src/localstore/localstore.dart that imports:
  • package:cache_annotations/src/localstore/src/utils/html.dart that imports:
  • dart:html
Package does not support platform `Web`.

Because:

  • package:cache_annotations/annotations.dart that imports:
  • package:cache_annotations/src/local_store_cache_mixin.dart that imports:
  • package:path_provider/path_provider.dart that declares support for platforms: Android, iOS, Windows, Linux, macOS.
Partially passed report section
Pass static analysis
40 / 50trigger folding of the section

Partially passed check 40/50 points: code has no errors, warnings, lints, or formatting issues

Found 3 issues. Showing the first 2:

INFO: Missing type annotation.

lib/src/localstore/src/collection_ref_impl.dart:24:5

   ╷
24 │     field, {
   │     ^^^^^
   ╵

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

INFO: Missing type annotation.

lib/src/localstore/src/collection_ref_impl.dart:25:5

   ╷
25 │     isEqualTo,
   │     ^^^^^^^^^
   ╵

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

Passed report section
Support up-to-date dependencies
40 / 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
encrypt ^5.0.3 5.0.3 5.0.3
path ^1.9.1 1.9.1 1.9.1
path_provider ^2.1.3 2.1.6 2.1.6
Transitive dependencies
Package Constraint Compatible Latest Notes
args - 2.7.0 2.7.0
asn1lib - 1.6.5 1.6.5
characters - 1.4.1 1.4.1
clock - 1.1.2 1.1.2
code_assets - 1.2.1 1.2.1
collection - 1.19.1 1.19.1
convert - 3.1.2 3.1.2
crypto - 3.0.7 3.0.7
ffi - 2.2.0 2.2.0
hooks - 2.0.2 2.0.2
jni - 1.0.0 1.0.0
jni_flutter - 1.0.1 1.0.1
js - 0.7.2 0.7.2 Discontinued
logging - 1.3.0 1.3.0
material_color_utilities - 0.13.0 0.13.0
meta - 1.18.0 1.18.3
objective_c - 9.4.1 9.4.1
package_config - 2.2.0 3.0.0
path_provider_android - 2.3.1 2.3.1
path_provider_foundation - 2.6.0 2.6.0
path_provider_linux - 2.2.2 2.2.2
path_provider_platform_interface - 2.1.3 2.1.3
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
pointycastle - 3.9.1 4.0.0
pub_semver - 2.2.0 2.2.0
record_use - 0.6.0 0.6.0
source_span - 1.10.2 1.10.2
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.4.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

Passed check 20/20 points: Compatible with dependency constraint lower bounds

pub downgrade does not expose any static analysis error.

Analyzed with Pana 0.23.13, Flutter 3.44.3, Dart 3.12.2.

Check the analysis log for details.

Weekly downloads

Display as:
By versions:
2
likes
110
points
68
downloads

Documentation

API reference

Publisher

verified publisherskyhook.fr

Weekly Downloads

This package is a type conversion generator using source_gen and inspired by Retrofit to help you manage persistent cache.

Repository (GitHub)
View/report issues

License

BSD-3-Clause (license)

Dependencies

encrypt, flutter, path, path_provider

More

Packages that depend on cache_annotations