Created
April 12, 2021 19:17
-
-
Save jacobaraujo7/fbafd6bd008eb746fba578baf2b4adc9 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
... | |
Widget build(BuildContext context){ | |
return Scaffold( | |
body: Center( | |
child: ScopedBuilder( | |
store: counter, | |
onState: (context, state) => Text('$state'), | |
onError: (context, error) => Text(error.toString()), | |
onLoading: (context) => CircularProgressIndicator(), | |
); | |
), | |
); | |
} | |
... |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment