Guest User

Untitled

a guest
Jun 23rd, 2018
69
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.63 KB | None | 0 0
  1. import 'package:flutter/material.dart';
  2.  
  3. void main() {
  4. runApp(new MaterialApp(
  5. home: new MyApp(),
  6. ));
  7. }
  8.  
  9. class MyApp extends StatelessWidget {
  10. @override
  11. Widget build(BuildContext context) {
  12. return new Scaffold(
  13. appBar: new AppBar(
  14. title: new Text("Example App"),
  15. backgroundColor: Colors.blue,
  16. ),
  17. backgroundColor: Colors.blue,
  18. body: new Center(
  19. child: new Column(
  20. mainAxisAlignment: MainAxisAlignment.center,
  21. children: <Widget>[
  22. new Icon(Icons.favorite, color: Colors.redAccent, size: 200.0,
  23. ),
  24. ],
  25. ),
  26. ),
  27. );
  28. }
  29. }
Add Comment
Please, Sign In to add comment