Skip to content

Use provider as state management tool for list of tasks #22

@SimonLab

Description

@SimonLab

ref: #21 (comment)

Provider can be use to make it easier to manage the state of the application, in particular to listen to changes applied to the list of tasks (e.g add a new task to the list, toggle complete/uncomplete task from the list...).
So instead of letting the widget managing their own state we can use provide to create one source for the state application which will define how to display the tasks.

see also https://flutter.dev/docs/development/data-and-backend/state-mgmt/simple

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions