local_data_source 0.0.4 copy "local_data_source: ^0.0.4" to clipboard
local_data_source: ^0.0.4 copied to clipboard

discontinued
outdated

Simple local data source wrap of hive.

Local Data Source #

This package helps to painlessly integrate boilerplate-proof Hive-based local data source secured by implementation of flutter_secure_storage.

Features #

Uses basic CRUD operations based on hive(noSql) for light database models mostly. Secured by flutter_secure_storage. Uniquely type defined(every model entity / runtime type, corresponds to only one entity in hive, defined by TypeAdapter).

Getting started #

Before initializing LocalDataSource make sure you have all hive types with its' type adapters generated with "flutter pub run build_runner build --delete-conflicting-issues". Adjust according to an issue.

Usage #

Run LocalDataSource.init with security key generated by you, map of all type-to-typeAdapter entities and you are ready to go.

Additional information #

Feel free to report any found bugs.

0
likes
0
points
14
downloads

Publisher

unverified uploader

Weekly Downloads

Simple local data source wrap of hive.

Repository (GitHub)
View/report issues

License

unknown (license)

Dependencies

build_runner, collection, flutter, flutter_secure_storage, hive, hive_flutter, hive_generator

More

Packages that depend on local_data_source