I need to store List data locally somewhere if user goes back from a screen and later access that List if User later redirects to that page. Could anyone help me with that? Thank you
CodePudding user response:
Using shared_preferences you can only store int, double, bool, String and List.
CodePudding user response:
If you only need to save data across screens, you shouldn't use SharedPreferences and have a look around State management.
Here are some options: https://docs.flutter.dev/development/data-and-backend/state-mgmt/options