hideDialog method
Implementation
void hideDialog(BuildContext context) {
Navigator.of(
context,
rootNavigator: true,
).popUntil(
(route) => route is! PopupRoute,
);
}
void hideDialog(BuildContext context) {
Navigator.of(
context,
rootNavigator: true,
).popUntil(
(route) => route is! PopupRoute,
);
}