Create a Todo Widget
Learn to create a Todo widget.
We'll cover the following
Since we’re developing an app to create todo items, we have to provide an action form so that users can create their tasks. The CreateTodo
class will just do that. It will be a combination of the Form
widget and will switch to capture the title
and isReminder
property of the Todo
model.
Code
Let’s look at the code below:
Get hands-on with 1200+ tech skills courses.