Persist data with SQLite

NOTE

This guide uses the sqflite package. This package only supports apps that run on macOS, iOS, or Android.

If you are writing an app that needs to persist and query large 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.