shared_preferences
- Stores key-value database in the device
-
Similar to
localstorageandsqflite -
Wraps platform-specific persistent storage for simple data
NSUserDefaultson iOS and macOS,SharedPreferenceson Android, etc- Data may be persisted to disk asynchronously, and there is no guarantee that writes will be persisted to disk after returning
- Supported data types:
int,double,bool,StringandList<String>