-
Notifications
You must be signed in to change notification settings - Fork 15
Persisting todo items #18
Copy link
Copy link
Closed
Labels
Description
The PR #17 focused on explaining how to create a simple UI with the Flutter widgets. However it doesn't explain yet how to persist the items created while the application is running.
We want to describe what are the different way to store/save data and load the information when the application is reopened.
- Simple key-value store system using the shared_preferences package. As our data is a bit more complex that just a key-value we will need first to convert the item objects to json and serialised (convert to string) them to be able to save them. Persiting items using shared_preferences #21
- Database system with SQLite. see:
driftreactive persistence library forFlutter&Dartbuilt on top ofsqlitelearn-flutter#70 - API system where we can save the items using a (Phoenix) REST API. We can also see how to use Phoenix Channels with Flutter, this can be useful when creating collaborative todo list for example. Dependent on: Feat: Todo List
REST APIphoenix-todo-list-tutorial#53
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
Type
Projects
Status
✅ Done