Hydrated
Hydrated provides a BehaviorSubject that automatically persists to Flutter's local storage and hydrates on creation!
Easy to consume
All values are persisted with shared_preferences
and restored with automatic hydration.
Ready for BLoC
Supports simple types and serialized classes
We support all shared_preferences
types.
int
double
bool
String
List<String>
We also support serialized classes with hydrate
and persist
arguments.
Reliable
Hydrated is mock tested with all supported types and is dogfooded by its creator.