local_cache_sync 3.1.1 copy "local_cache_sync: ^3.1.1" to clipboard
local_cache_sync: ^3.1.1 copied to clipboard

Cache json map to local file with Dart:io. Read cache with sync api.

7
likes
140/ 160
pub points
150
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: MIT.

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

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

OUT: Documenting local_cache_sync... Discovering libraries... Linking elements... Precaching local docs for 633124 elements... Initialized dartdoc with 772 libraries Generating docs for library pages/cacheChannelListPage.dart from package:local_cache_sync/pages/cacheChannelListPage.dart... Generating docs for library pages/cacheViewTablePage.dart from package:local_cache_sync/pages/cacheViewTablePage.dart... Generating docs for library core/loader.dart from package:local_cache_sync/core/loader.dart... Generating docs for library core/object.dart from package:local_cache_sync/core/object.dart... Generating docs for library local_cache_sync.dart from package:local_cache_sync/local_cache_sync.dart... [1 more lines] ERR: warning: local_cache_sync has no library level documentation comments from local_cache_sync: (file:///tmp/pana_QTQBOC/lib/pages/cacheViewTablePage.dart:1:1) warning: local_cache_sync has no library level documentation comments from local_cache_sync: (file:///tmp/pana_QTQBOC/lib/local_cache_sync.dart:1:1) error: file already written at "local_cache_sync/index.html" for symbol local_cache_sync: (file:///tmp/pana_QTQBOC/lib/local_cache_sync.dart:1:1) conflicting with file already generated by local_cache_sync: (file:///tmp/pana_QTQBOC/lib/pages/cacheViewTablePage.dart:1:1) Dartdoc generates a path and filename to write to for each symbol. 'local_cache_sync' conflicts with another symbol in the generated path, and therefore can not be written out. Changing the name, library name, [18 more lines]

Passed check 10/10 points: Package has an example

Failed 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 not compatible with platform Web

Because:

  • package:local_cache_sync/local_cache_sync.dart that imports:
  • dart:io

Failed check 0/0 points: WASM compatibility

Package not compatible with runtime wasm

Because:

  • package:local_cache_sync/local_cache_sync.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.

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 10 issues. Showing the first 2:

INFO: The import of 'package:local_cache_sync/core/object.dart' is unnecessary because all of the used elements are also provided by the import of 'package:local_cache_sync/local_cache_sync.dart'.

lib/core/loader.dart:3:8

  ╷
3 │ import 'package:local_cache_sync/core/object.dart';
  │        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  ╵

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

INFO: Using a colon as the separator before a default value is deprecated and will not be supported in language version 3.0 and later.

lib/core/loader.dart:19:14

   ╷
19 │     this.type: CacheType.json,
   │              ^
   ╵

To reproduce make sure you are using the lints_core and run flutter analyze lib/core/loader.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

No dependencies.

Transitive dependencies
Package Constraint Compatible Latest Notes
characters - 1.4.0 1.4.1
collection - 1.19.1 1.19.1
material_color_utilities - 0.11.1 0.13.0
meta - 1.16.0 1.17.0
vector_math - 2.1.4 2.2.0

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.22.21, Flutter 3.32.4, Dart 3.8.1.

Check the analysis log for details.

Weekly downloads

Display as:
By versions:
7
likes
140
points
150
downloads

Publisher

unverified uploader

Weekly Downloads

Cache json map to local file with Dart:io. Read cache with sync api.

Homepage

Documentation

API reference

License

MIT (license)

Dependencies

flutter

More

Packages that depend on local_cache_sync