Skip to content

kanchan88/hive-db

Repository files navigation

hivedb

A Simple Example of Using Hive DB for Offline Storage in Flutter. Hive DB is noSQL and you can save data offline using Hive. Search hive in pub.dev

IMPORANT

  • You must specify unique HiveType
  • HiveField must be unique ( inside the class only )

PROCESS

  1. Add Hive and HiveFlutter in pubspec with hive_generator and build_runner
  2. Create a HiveDB Class
  3. Call build_runner