ChangeNotifierProvider vs ChangeNotifierProvider.value
Let’s take this in steps. What is ChangeNotifier? A class that extends ChangeNotifier can call notifyListeners() any time data in that class has been updated and you want to let a listener know about that update. This is often done in a view model to notify the UI to rebuild the layout based on the … Read more