SHARE
TWEET

HomePage

a guest Oct 14th, 2019 81 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. import 'package:flutter/material.dart';
  2.  
  3. class HomeScreen extends StatefulWidget {
  4.   @override
  5.   _HomeScreenState createState() => _HomeScreenState();
  6. }
  7.  
  8. class _HomeScreenState extends State<HomeScreen>{
  9.  
  10.   @override
  11.   Widget build(BuildContext context){
  12.  
  13.     return Scaffold(
  14.         backgroundColor: Colors.white,
  15.         appBar: AppBar(
  16.           backgroundColor: Colors.white,
  17.           title: new Image.asset('chefedLogoTrasp.png', fit: BoxFit.cover,),
  18.           actions:<Widget>[
  19.             IconButton(
  20.               icon: Icon(Icons.menu),
  21.               color: Colors.black,
  22.               onPressed: () => print('Menu Clicked'),
  23.             ),
  24.           ]
  25.         ),
  26.     );
  27.  
  28.   }
  29.  
  30. }
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top