So I am building an app with a ListView of let's say some words. I have also created a screen where the user can save words when clicking of "favorite word". How can I save that info for every user so that when they log in again they have the same information saved? The app does not have an auth method yet. Is it necessary for this?
1 Answer
To store data locally on the user device you do not need to implement any auth functionality.
To persist data locally on a device you can use any of the following Sqflite, Moor, Shared Preferences, GetX Storage
I find GetX Storage the easiest way to store data that has no relationships.
This is a tutorial on shared preferences: https://www.youtube.com/watch?v=szOllHT1S7Y
This is also a tutorial for GetX Storage: https://youtu.be/ttQtlX_Q0eU?t=430