Wrapper for shared_preferences which adds the ability to listen to preference changes.
- 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.
reactive_preferences:
git:
url: git://github.com/Johann13/reactive_preferences