showDialog method
- CustomDialog dialog
Implementation
Future showDialog(CustomDialog dialog) {
_dialogCompleter = Completer<AlertResponse>();
_showDialogListener(dialog);
return _dialogCompleter!.future;
}
Future showDialog(CustomDialog dialog) {
_dialogCompleter = Completer<AlertResponse>();
_showDialogListener(dialog);
return _dialogCompleter!.future;
}