Skip to content

Instantly share code, notes, and snippets.

@PeterHdd
Created February 25, 2020 09:30
Show Gist options
  • Select an option

  • Save PeterHdd/7d7c2a517e1bdc79b14aef16a517231b to your computer and use it in GitHub Desktop.

Select an option

Save PeterHdd/7d7c2a517e1bdc79b14aef16a517231b to your computer and use it in GitHub Desktop.
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