add personalSelected as parameter and select gnav based on personalSelected
This commit is contained in:
parent
06cb232a09
commit
dace86182b
1 changed files with 5 additions and 1 deletions
|
|
@ -25,7 +25,11 @@ class _MIHAboutState extends State<MIHAbout> {
|
||||||
icon: const Icon(Icons.arrow_back),
|
icon: const Icon(Icons.arrow_back),
|
||||||
iconSize: 35,
|
iconSize: 35,
|
||||||
onTap: () {
|
onTap: () {
|
||||||
Navigator.of(context).pushNamedAndRemoveUntil('/', (route) => false);
|
Navigator.of(context).pushNamedAndRemoveUntil(
|
||||||
|
'/',
|
||||||
|
arguments: true,
|
||||||
|
(route) => false,
|
||||||
|
);
|
||||||
},
|
},
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue