update pat man nav
This commit is contained in:
parent
b3845489d7
commit
1a474137fd
8 changed files with 288 additions and 80 deletions
|
|
@ -43,10 +43,14 @@ class _PatientProfileState extends State<PatientProfile> {
|
|||
icon: const Icon(Icons.arrow_back),
|
||||
iconSize: 35,
|
||||
onTap: () {
|
||||
context.goNamed(
|
||||
'mihHome',
|
||||
extra: true,
|
||||
);
|
||||
if (widget.arguments.type == "business") {
|
||||
context.pop();
|
||||
} else {
|
||||
context.goNamed(
|
||||
'mihHome',
|
||||
extra: true,
|
||||
);
|
||||
}
|
||||
FocusScope.of(context).unfocus();
|
||||
},
|
||||
);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue