Advertisement
Guest User

Untitled

a guest
Oct 23rd, 2019
124
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.70 KB | None | 0 0
  1. import 'package:flutter/material.dart';
  2. void main() => runApp(MyApp());
  3. class MyApp extends StatelessWidget {
  4. // This widget is the root of your application.
  5. @override
  6. Widget build(BuildContext context) {
  7. return MaterialApp(
  8. home: Scaffold(
  9. appBar: AppBar(
  10. backgroundColor: Colors.blue,
  11. title: Row(
  12. mainAxisAlignment: MainAxisAlignment.center,
  13. children: <Widget>[
  14. Text(
  15. 'Título',
  16. style: TextStyle(color: Colors.white),
  17. ),
  18. ]),
  19. ),
  20. body:
  21. Center(
  22. child: Text('David Gama')
  23. ),
  24. )
  25. );
  26. }
  27. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement