riverpod_hydrated 0.1.2 copy "riverpod_hydrated: ^0.1.2" to clipboard
riverpod_hydrated: ^0.1.2 copied to clipboard

Riverpod extension that automatically persists and restores state using Hive storage backend.

Use this package as a library

Depend on it

Run this command:

With Dart:

 $ dart pub add riverpod_hydrated

With Flutter:

 $ flutter pub add riverpod_hydrated

This will add a line like this to your package's pubspec.yaml (and run an implicit dart pub get):

dependencies:
  riverpod_hydrated: ^0.1.2

Alternatively, your editor might support dart pub get or flutter pub get. Check the docs for your editor to learn more.

Import it

Now in your Dart code, you can use:

import 'package:riverpod_hydrated/hydrated_riverpod.dart';
3
likes
150
points
104
downloads

Publisher

unverified uploader

Weekly Downloads

Riverpod extension that automatically persists and restores state using Hive storage backend.

Repository (GitHub)
View/report issues
Contributing

Topics

#riverpod #state-management #persistence #hive #flutter

Documentation

Documentation
API reference

License

MIT (license)

Dependencies

collection, hive_ce, meta, riverpod, synchronized

More

Packages that depend on riverpod_hydrated