riverpod_persistent_state 2.0.0 copy "riverpod_persistent_state: ^2.0.0" to clipboard
riverpod_persistent_state: ^2.0.0 copied to clipboard

Persistent store for riverpod package based on hive

110/ 160
pub points
11
downloads

We analyzed this package 2 days 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: MIT.

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

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

38 out of 107 API elements (35.5 %) have documentation comments.

Some symbols that are missing documentation: future_proxy_store, future_proxy_store.FutureProxyStore, future_proxy_store.FutureProxyStore.FutureProxyStore.new, future_proxy_store.FutureProxyStore.close, future_proxy_store.FutureProxyStore.defaultValue.

Failed check 0/10 points: Package has an example

No example found.

See package layout guidelines on how to add an example.

Passed report section
Platform support
20 / 20trigger folding of the section

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

  • ✓ Android

  • ✓ iOS

  • ✓ Windows

  • ✓ Linux

  • ✓ macOS

  • ✓ Web

WASM-ready: This package is compatible with runtime wasm. 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

INFO: Missing type annotation.

lib/persistent_state_provider.dart:82:22

   ╷
82 │   Future<void> _load(_) async {
   │                      ^
   ╵

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

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

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

Package Constraint Compatible Latest Notes
hive ^2.0.0 2.2.3 2.2.3
riverpod ^2.0.0 2.6.1 3.2.1
rxdart ^0.27.1 0.27.7 0.28.0
Transitive dependencies
Package Constraint Compatible Latest Notes
characters - 1.4.1 1.4.1
collection - 1.19.1 1.19.1
crypto - 3.0.7 3.0.7
material_color_utilities - 0.13.0 0.13.0
meta - 1.17.0 1.18.1
path - 1.9.1 1.9.1
stack_trace - 1.12.1 1.12.1
state_notifier - 1.0.0 1.0.0
typed_data - 1.4.0 1.4.0
vector_math - 2.2.0 2.2.0

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

The constraint `^2.0.0` on riverpod does not support the stable version `3.0.0`.

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

The constraint `^0.27.1` on rxdart does not support the stable version `0.28.0`.

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

  • UNDEFINED_METHOD - lib/hive_store.dart:44:31 - The method 'flush' isn't defined for the type 'Box'.
  • UNDEFINED_METHOD - lib/persistent_state_provider.dart:106:10 - The method 'delayWhen' isn't defined for the type 'Stream'.

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.0, Dart 3.11.0.

Check the analysis log for details.

Weekly downloads

Display as:
By versions:
1
likes
110
points
11
downloads

Publisher

unverified uploader

Weekly Downloads

Persistent store for riverpod package based on hive

Repository (GitHub)
View/report issues

Documentation

API reference

License

MIT (license)

Dependencies

flutter, hive, riverpod, rxdart

More

Packages that depend on riverpod_persistent_state