Skip to content

Instantly share code, notes, and snippets.

@sbis04
Created July 12, 2019 18:12
Show Gist options
  • Save sbis04/652fff9ef2d0a1b06767c6c06f3acaf1 to your computer and use it in GitHub Desktop.
Save sbis04/652fff9ef2d0a1b06767c6c06f3acaf1 to your computer and use it in GitHub Desktop.
login_demo_7
Widget _signInButton() {
return OutlineButton(
splashColor: Colors.grey,
onPressed: () {},
shape: RoundedRectangleBorder(borderRadius: BorderRadius.circular(40)),
highlightElevation: 0,
borderSide: BorderSide(color: Colors.grey),
child: Padding(
padding: const EdgeInsets.fromLTRB(0, 10, 0, 10),
child: Row(
mainAxisSize: MainAxisSize.min,
mainAxisAlignment: MainAxisAlignment.center,
children: <Widget>[
Image(image: AssetImage("assets/google_logo.png"), height: 35.0),
Padding(
padding: const EdgeInsets.only(left: 10),
child: Text(
'Sign in with Google',
style: TextStyle(
fontSize: 20,
color: Colors.grey,
),
),
)
],
),
),
);
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment