Guest User

Untitled

a guest
Jan 18th, 2019
74
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.87 KB | None | 0 0
  1. import 'package:flutter/material.dart';
  2.  
  3. void main() => runApp(MyApp(
  4.  
  5. ));
  6.  
  7. class MyApp extends StatefulWidget {
  8.  
  9. @override
  10. State<StatefulWidget> createState() => MyAppState();
  11. }
  12.  
  13. class MyAppState extends State<MyApp> {
  14.  
  15. @override
  16. Widget build(BuildContext context) {
  17. return MaterialApp(
  18. theme: ThemeData(
  19. // Define the default Brightness and Colors
  20. brightness: Brightness.dark,
  21. primaryColor: Colors.lightBlue[800],
  22. accentColor: Colors.cyan[600],
  23. )
  24. , home: SafeArea(
  25. child: Scaffold(
  26. drawer: new Drawer(
  27. child: new ListView(
  28.  
  29. ) ,
  30. ),
  31. body: new Center(
  32. child: new Column(
  33. children: <Widget>[
  34.  
  35.  
  36. ],
  37. ))),
  38. )
  39. );
  40. }
  41. }
Add Comment
Please, Sign In to add comment