kooza_flutter 0.0.3 copy "kooza_flutter: ^0.0.3" to clipboard
kooza_flutter: ^0.0.3 copied to clipboard

outdated

A blazingly fast, reactive, fully asynchronous and easy to use local database for flutter

About Kooza #

A blazingly fast, reactive, fully asynchronous local database for dart projects.

Getting Started #

It is highly recommended to use flutter for providing kooza_flutter to your widget tree:

void main() async {
  final kooza = await Kooza.getInstance('myDb');
  runApp(Provider(
    create: (context) =>kooza,
    dispose: (_, kooza) => kooza.close(),
    child: MyApp(kooza: kooza),
  ));
}

To set data use the following methods:

kooza.setBool('isOnline', true, ttl: Duration(miliseconds: 3000));
kooza.setDoc('users', {'name': 'John Doe'}, ttl: Duration(hours: 2));

Additional information #

A Package Developed by Najibullah Khoda Rahim

Please, report the bugs through the Github repository: https://github.com/najibkr/kooza_flutter/issues

4
likes
0
points
15
downloads

Publisher

verified publisherlaams.io

Weekly Downloads

A blazingly fast, reactive, fully asynchronous and easy to use local database for flutter

Repository (GitHub)
View/report issues

License

unknown (license)

Dependencies

flutter, hive, hive_flutter, rxdart

More

Packages that depend on kooza_flutter