hideDialog function
Hides the currently showing dialog, if any.
Implementation
void hideDialog(BuildContext context) {
if (isDialogShowing(context)) {
Navigator.pop(context);
}
}
Hides the currently showing dialog, if any.
void hideDialog(BuildContext context) {
if (isDialogShowing(context)) {
Navigator.pop(context);
}
}