customAppBar function
dynamic
customAppBar()
Implementation
dynamic customAppBar() {
return AppBar(
backgroundColor: Colors.white,
bottom: null,
leading: Icon(Icons.arrow_back_ios), //AppBar Left Icon
title: null,
actions: <Widget>[
// IconButton(
// icon: Icon(Icons.arrow_back_ios),
// onPressed: () {
// // clicked(context, "Message sent");
// },
// ),
PopupMenuButton(
itemBuilder: (BuildContext context) {
return [
PopupMenuItem(
child: Column(
children: <Widget>[
Text('App Default Menu 1'),
Text('App Default Menu 2'),
],
),
),
];
},
)
],
);
}