Advertisement
Guest User

Untitled

a guest
Jul 21st, 2019
79
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.  
  3. void main() => runApp(Home());
  4.  
  5. class Home extends StatelessWidget {
  6. Widget build(context) {
  7. return MaterialApp(
  8. home: Scaffold(
  9. appBar: AppBar(
  10. title: Container(
  11. child: Row(
  12. children: [
  13. Image.asset(
  14. "assets/images/logo.png",
  15. fit: BoxFit.cover,
  16. ),
  17. SizedBox(
  18. width: 10,
  19. ),
  20. Text('Hi, Andi Loshi')
  21. ],
  22. ),
  23. ),
  24. backgroundColor: Color.fromRGBO(230, 1, 1, 1),
  25. ),
  26. body: Text('Body will reside here'),
  27. ),
  28. );
  29. }
  30. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement