-
-
Save ericgrandt/38db5a711b2eac9e0b62bef1561e3386 to your computer and use it in GitHub Desktop.
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
@override | |
Widget build(BuildContext context) { | |
return Scaffold( | |
appBar: AppBar( | |
title: Text('Flutter App'), | |
centerTitle: true, | |
elevation: 0, | |
), | |
body: Row( | |
mainAxisAlignment: MainAxisAlignment.center, | |
children: [ | |
Column( | |
mainAxisAlignment: MainAxisAlignment.center, | |
children: [ | |
Container( | |
child: Text('Some text'), | |
), | |
Container( | |
child: RaisedButton( | |
onPressed: () { | |
// Do something on press | |
}, | |
child: Text('PRESS ME'), | |
), | |
), | |
], | |
), | |
], | |
), | |
); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment