Last active
March 3, 2020 07:51
-
-
Save velrino/50a2a30487a7f50bbf7ac7d59bffcb31 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
import 'package:flutter/material.dart'; | |
void main() => runApp(MyApp()); | |
class MyApp extends StatelessWidget { | |
@override | |
Widget build(BuildContext context) { | |
return MaterialApp( | |
home: Scaffold( | |
body: ListView( | |
children: <Widget>[ | |
Container( | |
padding: EdgeInsets.only( | |
left: 10, | |
top: 30, | |
right: 10, | |
bottom: 50, | |
), | |
color: Color(0xFFEC7000), | |
child: Center( | |
child: Column( | |
children: [ | |
Padding( | |
padding: EdgeInsets.all(10), | |
child: Text( | |
'Home', | |
style: | |
TextStyle(fontSize: 15.0, color: Color(0xFFFFFFFF)), | |
), | |
) | |
], | |
), | |
), | |
), | |
], | |
), | |
), | |
); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment