Overview of the ChangeNotifier Class

Learn about the native Flutter ChangeNotifier class.

In this lesson, we will learn how to navigate from one screen to another with Provider's help while keeping our State intact.

ChangeNotifier and Provider

If we want to avoid widget rebuilding in Flutter, the rule is to avoid stateful widgets. There is a golden solution available for this.

We can use ChangeNotifier native class of Flutter along with the Provider package.

Although using a stateful widget for a small app is acceptable, always avoid stateful widgets and stick with the ...

Get hands-on with 1400+ tech skills courses.