Todo apps have always been a good first app for starters to learn something new. I also created this app solely for learning purposes. I have used ...
For further actions, you may consider blocking this person and/or reporting abuse
Hi there! Thanks for this tutorial. Don't you forget to add the provider in the main.dart file?
I had an "could not find the correct provider above this Consumer Widget" until I wrapped my
HomeScreen
in anMultiProvider
widget:EDIT: it looks like you did that on the add toto page. But you should do it earlier as the empty list wont work until you add the provider ;)
Glad that you liked the tutorial.
Actually I did wrap the
MaterialApp
inside aChangeNotifierProvider
widget in thelib/main.dart
file. We do not need to useMultiProvider
because we are only using a singleProvider
in our app.Great tutorial.
Helped me get started on my own journey towards provider pattern.
I've written something about it: ayusch.com/flutter-provider-patter...
Would love to get your feedback on this :)
Hey, great tutorial.
Shouldn't it be
final List<Task> _tasks
and notfinal List<Todo> _todos
at this part:?
I am glad you liked it.
And nice catch. I'll fix it ASAP. ✌️
Thank you for the great tutorial.
(I noticed that with higher-order functions, you can combine completed_tasks.dart, incomplete_tasks.dart, and all_tasks.dart into one.
github.com/suztomo/flutter_todos/c... )
Excellent tutorial -- congratulations !!!
Glad you liked it :D
Thanks @shakib609 ..
Best, Simple, Great tutorial ever seen.
Your great man..
Thanks. Glad you liked it. 😀
Isn't that the example that the Flutter's team gave at Google IO 2019? You should give them the credit if so...
Thanks for reading my post.
I actually did not copy this project from anywhere. And after you said I searched and found that, the flutter team actually created a dynamic pie-chart in Google I/O '19 when they introduced Provider.
Shouldn't you wrap the widgets in alltasks, compltedTasks and inCompleteTasks with ChangeNotifierProvider ?
I actually forgot to include the changes I made in
lib/main.dart
file. It should work now. Thanks for pointing it out.