forked from yaso_meth/mih-project
add home buttom
This commit is contained in:
@@ -26,6 +26,17 @@ class _MIHAppBarState extends State<MIHAppBar> {
|
||||
return AppBar(
|
||||
elevation: 8,
|
||||
shadowColor: MzanziInnovationHub.of(context)!.theme.secondaryColor(),
|
||||
actions: [
|
||||
IconButton(
|
||||
icon: const Icon(
|
||||
Icons.home,
|
||||
size: 40,
|
||||
),
|
||||
onPressed: () {
|
||||
Navigator.popAndPushNamed(context, '/home');
|
||||
},
|
||||
)
|
||||
],
|
||||
title: Text(
|
||||
widget.barTitle,
|
||||
),
|
||||
|
||||
Reference in New Issue
Block a user