Skip to content

Instantly share code, notes, and snippets.

@velrino
Last active March 3, 2020 07:51
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save velrino/50a2a30487a7f50bbf7ac7d59bffcb31 to your computer and use it in GitHub Desktop.
Save velrino/50a2a30487a7f50bbf7ac7d59bffcb31 to your computer and use it in GitHub Desktop.
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