A simple Flutter app resembling the out of the box Flutter app, but using the scoped_model library.
Branch: master
Clone or download
Latest commit e47e928 Feb 10, 2019
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
android First commit. Feb 10, 2019
ios First commit. Feb 10, 2019
lib First commit. Feb 10, 2019
.gitignore First commit. Feb 10, 2019
.metadata First commit. Feb 10, 2019
README.md First commit. Feb 10, 2019
pubspec.yaml First commit. Feb 10, 2019
screenshot1.png Screenshot update. Feb 10, 2019

README.md

scoped_model_hello_world

Example of Flutter's scoped_model, showing a simple list of widgets that react to updates of our scoped model state.

We show a very contrived example here but it's mean to be as simple as possible. We have three widgets that all rely on the same state. They are simple stateless widgets yet can easily receive updates of state that resides in a central place, our scoped model.

As the user taps the button at the bottom, our scoped model is updated and three widgets receive those updates.