local_cache_sync 1.2.4
local_cache_sync: ^1.2.4 copied to clipboard

Flutter Android iOS

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

4
likes
80 / 110
pub points
67 %
popularity

We analyzed this package on Jan 16, 2021, and awarded it 80 pub points (of a possible 110):

Follow Dart file conventions
20 / 20

10/10 points: Provide a valid pubspec.yaml

5/5 points: Provide a valid README.md

5/5 points: Provide a valid CHANGELOG.md

Provide documentation
10 / 20

10/10 points: Package has an example

  • Found example at: example/lib/main.dart

0/10 points: Failed to run dartdoc

  • Running dartdoc failed with the following output:
  warning: local_cache_sync has no library level documentation comments, from local_cache_sync: (file:///tmp/pub-dartlang-dartdocMVCNRV/pkg/lib/pages/cacheViewTablePage.dart:1:9)
  warning: local_cache_sync has no library level documentation comments, from local_cache_sync: (file:///tmp/pub-dartlang-dartdocMVCNRV/pkg/lib/local_cache_sync.dart:1:9)
  error: failed to write file at: local_cache_sync/local_cache_sync-library.html
    for symbol local_cache_sync: (file:///tmp/pub-dartlang-dartdocMVCNRV/pkg/lib/local_cache_sync.dart:1:9)
    conflicting with file already generated by local_cache_sync: (file:///tmp/pub-dartlang-dartdocMVCNRV/pkg/lib/pages/cacheViewTablePage.dart:1:9)
            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, or
            class name (if appropriate) of one of the conflicting items can resolve
            the conflict.   Alternatively, use the @nodoc tag in one symbol's
            documentation comments to hide it.
found 2 warnings and 1 error
Unhandled exception:
dartdoc encountered 1 errors while processing.
#0      Dartdoc.generateDocs (package:dartdoc/dartdoc.dart:231:9)
<asynchronous suspension>
#1      main (file:///project/pkg/pub_dartdoc/bin/pub_dartdoc.dart:32:33)
<asynchronous suspension>
#2      _startIsolate.<anonymous closure> (dart:isolate-patch/isolate_patch.dart:299:32)
#3      _RawReceivePortImpl._handleMessage (dart:isolate-patch/isolate_patch.dart:168:12)
Support multiple platforms
10 / 20

10/20 points: Supports 2 of 3 possible platforms (iOS, Android, Web)

Consider supporting multiple platforms:

Package not compatible with runtime flutter-web on Web

Because:

  • package:local_cache_sync/local_cache_sync.dart that imports:
  • package:local_cache_sync/image_cache/local_cache_image.dart that imports:
  • dart:io
Pass static analysis
20 / 30

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

INFO: Unused import: 'package:local_cache_sync/image_cache/file_cache_image.dart'.

lib/pages/cacheImageTablePage.dart:5:8

  ╷
5 │ import 'package:local_cache_sync/image_cache/file_cache_image.dart';
  │        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  ╵

To reproduce make sure you are using pedantic and run flutter analyze lib/pages/cacheImageTablePage.dart

Support up-to-date dependencies
20 / 20

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

PackageConstraintCompatibleLatest
quiver^2.0.22.1.52.1.5
Transitive dependencies
PackageConstraintCompatibleLatest
characters-1.1.0-nullsafety.51.1.0-nullsafety.5
collection-1.15.0-nullsafety.51.15.0-nullsafety.5
matcher-0.12.90.12.10-nullsafety.3
meta-1.3.0-nullsafety.61.3.0-nullsafety.6
path-1.7.01.8.0-nullsafety.3
stack_trace-1.9.61.10.0-nullsafety.6
typed_data-1.3.0-nullsafety.51.3.0-nullsafety.5
vector_math-2.1.0-nullsafety.52.1.0-nullsafety.5

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

10/10 points: Package supports latest stable Dart and Flutter SDKs

4
likes
80
pub points
67%
popularity

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

Homepage

Documentation

API reference

Uploader

mjl0602@gmail.com

License

MIT (LICENSE)

Dependencies

flutter, quiver

More

Packages that depend on local_cache_sync