I am currently learning flutter and dart. I am not a very experienced developer (mainly some C++ knowledge), but I really like Flutter and I started to develop some Apps for testing and learning. The only real problem I have is that I don't understand how to save stuff to the device. I know there are some tutorials out there but they don't really cover what I want to know.
The Counter Example is nice to show a beginner how to save one int. But in my App, I want to save a list of objects with int, string, and list values.
So my questions are
- How do I save an object?
- Can I simply save a list of objects?
- If I have two different Objects do I save them on one or two separate files? Same with theme or preference values the user chooses?
- In my App, the user should be able to extend an existing list of objects. How do I save those already existing Objects to the device?
- How do I read the files and how will the data be structured? Do I get the objects i saved or just their values?
You see: I am not very experienced yet, but I really want to learn more about Flutter! So if you have any good links or advice regarding that subject or generally Flutter please share them!
Thank you for your help!