Skip to content

Instantly share code, notes, and snippets.

@chimon2000
Last active November 3, 2020 04:36
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save chimon2000/373545ba33177dfbccb322a751694e98 to your computer and use it in GitHub Desktop.
Save chimon2000/373545ba33177dfbccb322a751694e98 to your computer and use it in GitHub Desktop.
state_example: binder root
void main() {
// For widgets to be able to read app state, we need to wrap the entire
// application in a "BinderScope" widget.
runApp(BinderScope(child: App()));
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment