Managing State in Flutter

Sep 22 2022 · Dart 2.17, Flutter 3.0, Android Studio Chipmunk

Part 2: Use Provider

11. Use a Change Provider

Episode complete

Play next episode

About this episode
Leave a rating/review
See forum comments
Cinema mode Mark complete Download course materials
Previous episode: 10. Add a Simple Provider Next episode: 12. Use Context Methods

Get immediate access to this and 4,000+ other videos and books.

Take your career further with a Kodeco Personal Plan. With unlimited access to over 40+ books and 4,000+ professional videos in a single subscription, it's simply the best investment you can make in your development career.

Learn more Already a subscriber? Sign in.

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

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 {
body: ChangeNotifierProvider<Pillar>(