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
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 :)
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
HomeScreenin anMultiProviderwidget: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
MaterialAppinside aChangeNotifierProviderwidget in thelib/main.dartfile. We do not need to useMultiProviderbecause we are only using a singleProviderin our app.Hey, great tutorial.
Shouldn't it be
final List<Task> _tasksand notfinal List<Todo> _todosat 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... )
Thanks @shakib609 ..
Best, Simple, Great tutorial ever seen.
Your great man..
Thanks. Glad you liked it. 😀
Excellent tutorial -- congratulations !!!
Glad you liked it :D
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.dartfile. It should work now. Thanks for pointing it out.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.