- Flutter Cookbook — Persist data with SQLite

If you write an app that needs to persist and query larger amounts of data on the local device, consider using a database instead of a local file or key-value store. In general, databases provide faster inserts, updates, and queries compared to other local persistence solutions.

Flutter apps can make use of the SQLite databases via the sqflite plugin available on pub. This recipe demonstrates the basics of using sqflite to insert, read, update, and remove data about various Dogs!

If you are new to SQLite and SQL statements, please review the SQLite Tutorial site to learn the basics before completing this recipe.

https://flutter.dev/docs/cookbook/persistence/sqlite