Get immediate access to this and over 1,500+ other videos and books.

Boost your skills with a raywenderlich.com Beginner subscription. With over 60+ video courses and our core foundational programming books bundled in one subscription, it’s simply the best investment you can make in your development career.

Use a Change Provider

This video was last updated on Sep 22 2022

While the Provider was fine for receiving model data, it didn’t react to state changes. In this episode, you’ll see how to leverage a Change Provider to receive state updates.

Contributors

Heads up... You've reached locked video content where the transcript will be shown as obfuscated text.

You can unlock the rest of this video course, and our entire catalogue of books and videos, with a raywenderlich.com Professional subscription.

In the last episode, we implemented a simple provider that enabled us to fetch our model data, and while we could change the state of the model, our user interface stayed the same. We need to let Flutter know our model changes, and for that, we must extend the change notifier.

class Pillar extends ChangeNotifier {
notifyListeners();
body: ChangeNotifierProvider<Pillar>(

Reviews

Comments