SubTopics:
Creating and using ChangeNotifier: ChangeNotifier
is a class that provides change notifications to its listeners. When the state changes, it notifies the listeners
to rebuild their widgets.
Listening to state changes with Consumer: The Consumer
widget listens to the state changes and rebuilds its child widget when the state updates, ensuring that only necessary parts of the widget tree are rebuilt.