Skip to content

Instantly share code, notes, and snippets.

@theindianappguy
Last active May 12, 2020 05:44
Show Gist options
  • Save theindianappguy/edde857a085583e16fb269740c3862ed to your computer and use it in GitHub Desktop.
Save theindianappguy/edde857a085583e16fb269740c3862ed to your computer and use it in GitHub Desktop.
appBar for ChatApp
import 'package:flutter/material.dart';
Widget appBarMain(BuildContext context) {
return AppBar(
title: Image.asset(
"assets/images/logo.png",
height: 40,
),
elevation: 0.0,
centerTitle: false,
);
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment