Created
February 25, 2020 09:30
-
-
Save PeterHdd/7d7c2a517e1bdc79b14aef16a517231b 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( | |
| appBar: AppBar( | |
| title: Text(widget.title), | |
| ), | |
| body: Center( | |
| child: Column(mainAxisAlignment: MainAxisAlignment.center, children: < | |
| Widget>[ | |
| Padding( | |
| padding: EdgeInsets.all(10.0), | |
| child: Text("Meet Up", | |
| style: TextStyle( | |
| fontWeight: FontWeight.bold, | |
| fontSize: 30, | |
| fontFamily: 'Roboto')), | |
| ), | |
| Padding( | |
| padding: EdgeInsets.all(10.0), | |
| child: SignInButton( | |
| Buttons.Email, | |
| text: "Sign up with Email", | |
| onPressed: () { | |
| Navigator.push( | |
| context, | |
| MaterialPageRoute(builder: (context) => EmailSignUp()), | |
| ); | |
| }, | |
| )), | |
| Padding( | |
| padding: EdgeInsets.all(10.0), | |
| child: SignInButton( | |
| Buttons.Google, | |
| text: "Sign up with Google", | |
| onPressed: () {}, | |
| )), | |
| Padding( | |
| padding: EdgeInsets.all(10.0), | |
| child: SignInButton( | |
| Buttons.Twitter, | |
| text: "Sign up with Twitter", | |
| onPressed: () {}, | |
| )), | |
| Padding( | |
| padding: EdgeInsets.all(10.0), | |
| child: GestureDetector( | |
| child: Text("Log In Using Email", | |
| style: TextStyle( | |
| decoration: TextDecoration.underline, | |
| color: Colors.blue)), | |
| onTap: () { | |
| Navigator.push( | |
| context, | |
| MaterialPageRoute(builder: (context) => EmailLogIn()), | |
| ); | |
| })) | |
| ]), | |
| )) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment