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.
We're a place where coders share, stay up-to-date and grow their careers.
We strive for transparency and don't collect excess data.