K.Fawaz
K.Fawaz

Reputation: 29

Storing Data Flutter Internally

How can I store data internally, let's say a high score in Flutter so that when the app reboots the high score doesn't go back to 0?

Upvotes: 1

Views: 176

Answers (1)

Sidak
Sidak

Reputation: 1283

It really depends on how you want to implement it:

  • You can check out SharedPreferences. They allow you to store the score locally as key value pairs for simple functionality.

  • If you want more complicated data, you can consider creating a local database.

  • If you want online storage, you can use online databases.

Upvotes: 2

Related Questions