Created
October 14, 2021 23:14
-
-
Save HansMuller/bed0779003ea88de0441be9765b24f18 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
| return Scaffold( | |
| body: SignInForm( | |
| authentication: Authentication.OAuth, | |
| stateFeedbackBuilder: (state, ..) { | |
| if (state is SigningIn) return const CircularProgressIndicator(); | |
| if (state is AuthFailed) return ErrorText(state.exception); | |
| return null; | |
| }, | |
| providers: [ | |
| const ProviderButton<Google>(); | |
| ], | |
| ), | |
| ); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment