Could not find the correct Provider Flutter.You need a builder bridge between ChangeNotifierProvider and Scaffold.
Provider package already has it’s own builder called Consumer, you can use it like:
builder: (context) => MySchedule(),
builder: (context, provider, child) => Scaffold(....,
If you like this question & answer and want to contribute, then write your question & answer and email to freewebmentor[@]gmail.com. Your question and answer will appear on FreeWebMentor.com and help other developers.