Hive (Flutter Tutorial) – Lightweight & Fast NoSQL Database in Pure Dart
???? Get the starter project & learn from the written tutorial ????????
???????? Do you write good code? Find out now!
Storing data locally is a task which has to be done by almost every app. Maybe, you want to cache responses from a REST API or you're building an offline-only app. In any case, choosing the right local database can make all the difference in how quickly you can develop the app and also in how performant the app will be.
Hive is a lightweight, yet powerful database which is easy to develop with and it also runs fast on the device. Unless you absolutely need to model your data with many relationships, in which case you should probably use SQLite, choosing this pure-Dart package with no native dependencies (it runs on Flutter Web!) can be the best option.
Go to my website for more information, code examples, and articles:
Follow me on social media: