Created
April 30, 2019 00:03
-
-
Save mfreeman451/3f1965fe246b109aff57793e0f4eb5cd to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import 'package:flutter/material.dart'; | |
import 'package:chaseapp/facebook.dart'; | |
Widget TopBar(BuildContext context) { | |
return new AppBar( | |
backgroundColor: new Color(0xfff8faf8), | |
centerTitle: true, | |
elevation: 1.0, | |
// leading: new Icon(Icons.camera_alt), | |
title: SizedBox(height: 35.0, child: Image.asset("images/chaseapp.png")), | |
leading: new IconButton( | |
icon: new Icon(Icons.face), | |
onPressed: () { | |
Navigator.push( | |
context, MaterialPageRoute(builder: (context) => LoginPage())); | |
}), | |
actions: <Widget>[ | |
Padding( | |
padding: const EdgeInsets.only(right: 12.0), | |
// child: Icon(Icons.send), | |
) | |
], | |
); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment