Skip to content

Instantly share code, notes, and snippets.

@mfreeman451
Created April 30, 2019 00:03
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save mfreeman451/3f1965fe246b109aff57793e0f4eb5cd to your computer and use it in GitHub Desktop.
Save mfreeman451/3f1965fe246b109aff57793e0f4eb5cd to your computer and use it in GitHub Desktop.
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