Created
July 12, 2019 18:12
-
-
Save sbis04/652fff9ef2d0a1b06767c6c06f3acaf1 to your computer and use it in GitHub Desktop.
login_demo_7
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 _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