dwyl / dwyl/flutter-todo-list-tutorial

Use provider as state management tool for list of tasks

Open
#22 2 comments 1 reaction 1 assignee Claimed by @SimonLab View on GitHub
enhancement T4h
Dominant language
Dart
Stars
109
Forks
17
PR merge metrics
No merged PRs in 30d

Description

ref: https://github.com/dwyl/flutter-todo-list-tutorial/issues/21#issuecomment-742535367

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

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.