Skip to content

A simple Flutter app resembling the out of the box Flutter app, but using the scoped_model library.

Notifications You must be signed in to change notification settings

rustkas/scoped_model_hello_world

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

scoped_model

Basic usage

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.

About

A simple Flutter app resembling the out of the box Flutter app, but using the scoped_model library.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Dart 71.8%
  • Objective-C 18.8%
  • Java 9.4%