riverpod_cache 0.0.5 copy "riverpod_cache: ^0.0.5" to clipboard
riverpod_cache: ^0.0.5 copied to clipboard

Add offline persistence support for Riverpod

Use this package as a library

Depend on it

Run this command:

With Flutter:

 $ flutter pub add riverpod_cache

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

dependencies:
  riverpod_cache: ^0.0.5

Alternatively, your editor might support 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_cache/riverpod_cache.dart';
5
likes
140
points
829
downloads

Publisher

verified publishermatheer.com

Weekly Downloads

Add offline persistence support for Riverpod

Repository (GitHub)
View/report issues

Topics

#riverpod #cache #offline #persistence #shared-preferences

Documentation

Documentation
API reference

Funding

Consider supporting this project:

github.com

License

MIT (license)

Dependencies

flutter, riverpod, riverpod_annotation, shared_preferences

More

Packages that depend on riverpod_cache