water 1.0.0+1
water: ^1.0.0+1 copied to clipboard
An implementation of HydratedStorage using Hive, a fast and lightweight key-value database

An implementation of HydratedStorage using Hive, a fast and lightweight key-value database 💦
Usage #
final water = await Water.getInstance();
Example #
With HydratedBlocDelegate
class SampleBlocDelegate extends HydratedBlocDelegate {
SampleBlocDelegate(HydratedStorage storage) : super(storage);
}
Setting the delegate
BlocSupervisor.delegate = SampleBlocDelegate(
await Water.getInstance(),
);
Todo #
- ❌ Web support
- ❌ Desktop support