Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- import 'package:flutter/material.dart';
- void main() => runApp(Home());
- class Home extends StatelessWidget {
- Widget build(context) {
- return MaterialApp(
- home: Scaffold(
- appBar: AppBar(
- title: Container(
- child: Row(
- children: [
- Image.asset(
- "assets/images/logo.png",
- fit: BoxFit.cover,
- ),
- SizedBox(
- width: 10,
- ),
- Text('Hi, Andi Loshi')
- ],
- ),
- ),
- backgroundColor: Color.fromRGBO(230, 1, 1, 1),
- ),
- body: Text('Body will reside here'),
- ),
- );
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement