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

Persistent store for riverpod package based on hive

2
likes
110/ 160
pub points
50%
popularity

We analyzed this package 10 days ago, and awarded it 110 pub points (of a possible 160):

failed
Follow Dart file conventions
20 / 30trigger folding of the section

0/10 points: Provide a valid pubspec.yaml

The package description is too short.

Add more detail to the description field of pubspec.yaml. Use 60 to 180 characters to describe the package, what it does, and its target use case.

5/5 points: Provide a valid README.md

5/5 points: Provide a valid CHANGELOG.md

10/10 points: Use an OSI-approved license

Detected license: MIT.

failed
Provide documentation
10 / 20trigger folding of the section

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

44 out of 109 API elements (40.4 %) have documentation comments.

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

0/10 points: Package has an example

No example found.

See package layout guidelines on how to add an example.

OK
Platform support
20 / 20trigger folding of the section

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

  • ✓ Android

  • ✓ iOS

  • ✓ Windows

  • ✓ Linux

  • ✓ macOS

  • ✓ Web

0/0 points: WASM compatibility

This package is compatible with runtime wasm, and will be rewarded additional points in a future version of the scoring model.

See https://dart.dev/web/wasm for details.

OK
Pass static analysis
50 / 50trigger folding of the section

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

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

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

Package Constraint Compatible Latest
flutter flutter 0.0.0 0.0.0
hive ^2.0.0 2.2.3 2.2.3
riverpod ^1.0.0 1.0.3+1 2.5.1
rxdart ^0.27.1 0.27.7 0.28.0
Transitive dependencies
Package Constraint Compatible Latest
characters - 1.3.0 1.3.0
collection - 1.18.0 1.19.0
crypto - 3.0.5 3.0.5
material_color_utilities - 0.11.1 0.12.0
meta - 1.15.0 1.16.0
sky_engine - 0.0.99 0.0.99
state_notifier - 0.7.2+1 1.0.0
typed_data - 1.3.2 1.3.2
vector_math - 2.1.4 2.1.4

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

The constraint `^1.0.0` on riverpod does not support the stable version `2.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.

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

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:105: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.22.12, Flutter 3.24.3, Dart 3.5.3.

Check the analysis log for details.

2
likes
110
pub points
50%
popularity

Publisher

unverified uploader

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