reactive_preferences
Wrapper for shared_preferences which adds the ability to listen to preference changes.
How to use
- Wrap you root widget in the PreferenceProvider Then You have the following options.
- Use a preference builder widgets to listen to changes.
- use your own stream builder and PreferenceProvider.of(BuildContext context).
See the example app.
Import
reactive_preferences:
git:
url: git://github.com/Johann13/reactive_preferences