shared_preferences_riverpod_new 0.2.0 copy "shared_preferences_riverpod_new: ^0.2.0" to clipboard
shared_preferences_riverpod_new: ^0.2.0 copied to clipboard

One-liner Riverpod 3 providers backed by SharedPreferences. Sync or async, a modern rewrite of shared_preferences_riverpod.

Use this package as a library

Depend on it

Run this command:

With Flutter:

 $ flutter pub add shared_preferences_riverpod_new

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

dependencies:
  shared_preferences_riverpod_new: ^0.2.0

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:shared_preferences_riverpod_new/shared_preferences_riverpod_new.dart';
0
likes
155
points
182
downloads

Documentation

API reference

Publisher

unverified uploader

Weekly Downloads

One-liner Riverpod 3 providers backed by SharedPreferences. Sync or async, a modern rewrite of shared_preferences_riverpod.

Repository (GitHub)
View/report issues

Topics

#riverpod #shared-preferences #state-management #persistence

License

MIT (license)

Dependencies

flutter, riverpod, shared_preferences

More

Packages that depend on shared_preferences_riverpod_new