splash screen fix
This commit is contained in:
parent
7a2593468e
commit
3efa6f9df1
14 changed files with 282 additions and 273 deletions
|
|
@ -26,17 +26,22 @@ 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');
|
||||
},
|
||||
)
|
||||
],
|
||||
// actions: [
|
||||
// IconButton(
|
||||
// icon: const Icon(
|
||||
// Icons.home,
|
||||
// size: 40,
|
||||
// ),
|
||||
// onPressed: () {
|
||||
// // Navigator.pushNamedAndRemoveUntil(
|
||||
// // context,
|
||||
// // '/home',
|
||||
// // );
|
||||
// Navigator.of(context)
|
||||
// .pushNamedAndRemoveUntil('/home', (route) => false);
|
||||
// },
|
||||
// )
|
||||
// ],
|
||||
title: Text(
|
||||
widget.barTitle,
|
||||
textAlign: TextAlign.center,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue