TOP(About this memo)) > 一覧(Flutter) > ローカルデータ
If you have a relatively small collection of key-values to save, you can use the shared_preferences plugin.
Data may be persisted to disk asynchronously, and there is no guarantee that writes will be persisted to disk after returning, so this plugin must not be used for storing critical data.
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.