Created
June 28, 2018 22:36
-
-
Save kn0ch3n/ef8f73f1a6d9b291918c41bbc36bfd77 to your computer and use it in GitHub Desktop.
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
| import 'package:flutter/material.dart'; | |
| void main() => runApp( | |
| MaterialApp( | |
| home: Scaffold( | |
| appBar: AppBar( | |
| title: Text('AppBar Title'), | |
| centerTitle: true, | |
| ), | |
| body: Center( | |
| child: Row( | |
| mainAxisAlignment: MainAxisAlignment.spaceEvenly, | |
| children: [ | |
| Text('Hello Flutter World!'), | |
| RaisedButton( | |
| child: Text('I am a Button'), | |
| onPressed: () {}, | |
| ), | |
| IconButton( | |
| icon: Icon(Icons.thumb_up), | |
| color: Colors.blue, | |
| onPressed: () {}, | |
| ), | |
| ], | |
| ), | |
| ), | |
| ), | |
| ), | |
| ); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment