splash screen fix

This commit is contained in:
2024-08-26 15:29:30 +02:00
parent 7a2593468e
commit 3efa6f9df1
14 changed files with 282 additions and 273 deletions

View File

@@ -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,