Suragch

Jan 4, 2019

2 min read

Saving and reading data in Flutter with SharedPreferences

In Flutter, Shared Preferences are used to store primitive data (int, double, bool, string, and 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.