flutter_persistent_value_notifier 1.0.13
flutter_persistent_value_notifier: ^1.0.13 copied to clipboard
Allow changes to `ValueNotifier.value` to persist across app restarts.
1.0.13 #
- Export
PersistentValueNotifierJsonEncoded.
1.0.12 #
- For
PersistentValueNotifierJsonEncoded, notify listeners if the JSON representation of the value has changed, don't check the value reference for changes.
1.0.11 #
- Write through to
SharedPreferencesfromnotifyListeners.
1.0.10 #
- Handle
fromJsonthrowing an exception.
1.0.9 #
- Add
PersistentValueNotifierJsonEncodedfor persisting arbitrary JSON-serializable objects.
1.0.8 #
- Add support for
SharedPreferences.setPrefix, by passing aprefixparameter toinitPersistentValueNotifier.
1.0.7 #
- No funcitonal changes, only updates
README.md, since the version on pub.dev contained an error.
1.0.6 #
- Use
Enum.asNameMap(which doesn't throw an exception) instead ofEnum.byNameto get enum values from name.
1.0.5 #
- Rename
PersistentValueNotifierEnum.enumValueFromNametoPersistentValueNotifierEnum.valuesByName
1.0.4 #
- Require
initPersistentValueNotifierto be called beforePersistentValueNotifieris used (reverts the changes in 1.0.3). - Add
PersistentValueNotifierEnumto support enum value storage inSharedPreferences.
1.0.3 #
Allow PersistentValueNotifier to be used with initial value if SharedPreferences has not yet been initialized (in case the user forgets to use await with initPersistentValueNotifier).
1.0.2 #
Improve code based on suggestions from core Dart language team.
1.0.1 #
Update docs only (so that pub.dev docs get updated).
1.0.0 #
First pub.dev release.