Skip to main content

reactive_shared_prefs 1.0.2 copy "reactive_shared_prefs: ^1.0.2" to clipboard
reactive_shared_prefs: ^1.0.2 copied to clipboard

Reactive wrapper around SharedPreferences with streams and auto updates.

Use this package as a library

Depend on it

Run this command:

With Flutter:

 $ flutter pub add reactive_shared_prefs

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

dependencies:
  reactive_shared_prefs: ^1.0.2

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:reactive_shared_prefs/reactive_shared_prefs.dart';
1
likes
150
points
21
downloads

Documentation

API reference

Publisher

unverified uploader

Weekly Downloads

Reactive wrapper around SharedPreferences with streams and auto updates.

Repository (GitHub)

License

MIT (license)

Dependencies

flutter, shared_preferences

More

Packages that depend on reactive_shared_prefs