Flutter: What is the best practice to save general configurations of app?

Viewed 1063

I have a flutter application where there are some small configs such as Audio enabled/disabled. I tried to use "package:global_configuration/global_configuration.dart" but that is being reset after app restart. I did not include any DataBase yet and want to get rid of that as for now these configs are the only things I need to keep.

2 Answers

I would definitely recommend you to use SharedPreferences . it can store your configurations very easily and you can retrieve them so easily Flutter SharedPreferences

Related