ProgressDialog constructor

ProgressDialog(
  1. BuildContext context, {
  2. DialogTransitionType? dialogTransitionType,
  3. Color? backgroundColor,
  4. Widget? cancelText,
  5. Widget? defaultLoadingWidget,
  6. double? blur,
  7. Function? onCancel,
  8. bool? dismissable,
  9. Function? onDismiss,
  10. Widget? title,
  11. Widget? message,
  12. DialogStyle? dialogStyle,
  13. Duration? transitionDuration,
})

Implementation

ProgressDialog(this.context,
    {this.dialogTransitionType,
    this.backgroundColor,
    this.cancelText,
    this.defaultLoadingWidget,
    this.blur,
    this.onCancel,
    this.dismissable,
    this.onDismiss,
    this.title,
    this.message,
    this.dialogStyle,
    this.transitionDuration}) {
  _initProgress();
}