showHome method
void showHome (TargetFocus clickedTarget)
This function shows the Home screen.
params:
clickedTarget
: object to identify clickedTarget.
returns: None
Implementation
void showHome(TargetFocus clickedTarget) {
switch (clickedTarget.identify) {
case "keySHMenuIcon":
scaffoldKey.currentState!.openDrawer();
break;
case "keyDrawerLeaveCurrentOrg":
navigationService.pop();
}
}