Saving and reading data in Flutter with SharedPreferences
In Flutter, Shared Preferences are used to store primitive data (
stringList). This data is associated with the app, so when the user uninstalls your app, the data will also be deleted. It is meant for storing small amounts of data.
The following steps will tell you how to use SharedPreferences.