yDismissDialog function
Implementation
void yDismissDialog(BuildContext? dialogContext) {
if (dialogContext != null) {
var state = Navigator.of(dialogContext);
if (state.canPop()) state.pop();
}
}
void yDismissDialog(BuildContext? dialogContext) {
if (dialogContext != null) {
var state = Navigator.of(dialogContext);
if (state.canPop()) state.pop();
}
}