water 0.0.1 copy "water: ^0.0.1" to clipboard
water: ^0.0.1 copied to clipboard

outdated

An implementation of HydratedStorage using Hive, a fast and lightweight key-value database

water

snack pub style: pedantic license

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
6
likes
25
points
23
downloads

Publisher

verified publishermolland.sh

Weekly Downloads

An implementation of HydratedStorage using Hive, a fast and lightweight key-value database

License

MIT (license)

Dependencies

flutter, hive, hydrated_bloc, path_provider, pedantic

More

Packages that depend on water