Измените пример Flutter.

please refer-

https://flutterbyexample.com/lesson/change-notifier-provider
RakshaD