0

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
  • you have a lot of choices, please be more specific, do you want the app to work offline only? do you have a lot of data with complex relationships? Commented Sep 3, 2021 at 19:50

1 Answer 1

2

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

Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.