Created
February 21, 2018 06:07
-
-
Save WillyShakes/8ee123280a010ebed4740d6f9d679f7f to your computer and use it in GitHub Desktop.
UI of the flutter auth application
This file contains 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 = new Padding( | |
padding: new EdgeInsets.all(32.0), | |
child: new Column( | |
crossAxisAlignment: CrossAxisAlignment.center, | |
mainAxisSize: MainAxisSize.min, | |
children: <Widget>[ | |
new Text( | |
'Welcome to FlutterAuth,', | |
style: DefaultTextStyle.of(context).style.apply(fontSizeFactor: 1.5),), | |
new Text('Login to continue'), | |
new Center( | |
child: new Column( | |
mainAxisAlignment: MainAxisAlignment.center, | |
crossAxisAlignment: CrossAxisAlignment.center, | |
mainAxisSize: MainAxisSize.min, | |
children: <Widget>[ | |
new Padding( | |
padding: new EdgeInsets.symmetric(vertical: 160.0), | |
child: | |
new InkWell(child: | |
new Row( | |
mainAxisAlignment: MainAxisAlignment.spaceEvenly, | |
crossAxisAlignment: CrossAxisAlignment.center, | |
mainAxisSize: MainAxisSize.max, | |
children: <Widget>[ | |
new Image.asset( | |
'assets/instagram.png', | |
height: 50.0, | |
fit: BoxFit.cover, | |
), | |
new Text('Continue with Instagram') | |
], | |
),onTap: _login,) | |
), | |
] | |
), | |
), | |
] | |
) | |
); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment