show method

void show({
  1. bool useSafeArea = true,
})

Show progress dialog

Implementation

void show({bool useSafeArea = true}) async {
  if (!_show) {
    _show = true;
    await DialogUtils(
      dismissable: dismissable,
      barrierColor: backgroundColor ?? Colors.black.withOpacity(.5),
      child: _progressDialogWidget,
      dialogTransitionType: dialogTransitionType,
      transitionDuration: transitionDuration,
      useSafeArea: useSafeArea,
    ).show(context);
    _show = false;
  }
}