Structured local storage

Structured local storage increases app performance and
improves the user experience by selectively saving expensive
or slow data on a user’s device. 
This path suggests two plugins for local persistence:
drift and hive. 
Which plugin you choose depends on your needs.

Drift, rated a Flutter favorite,
offers a fully-typed object relational mapping (ORM)
around SQLite, with support on all Flutter platforms.
Developers who require a fully relational database on
their users’ device will benefit most from this package.

Hive offers a fully-typed object document mapping (ODM)
around a custom storage solution, with support on all
Flutter platforms. Developers who do not require a fully
relational database, especially if they use document-based
storage on their server (like Cloud Firestore)
will benefit most from this package.

Useful links