Remember this
Use device storage for small data your app should remember after it closes. Good examples are favourites, dark mode, last selected city, or whether onboarding is done.
For bigger data, like many notes, orders, or chat messages, key-value storage is not enough. Use a database later.
What to store
In your demo app, pick one thing the user can change and expect to see again. A college events app can save bookmarked events. A UPI expense tracker can save the selected month. A jobs app can save saved internships.
This lesson uses shared_preferences, a common Flutter plugin for simple key-value data. Flutter’s own guide shows it for settings like dark mode.