MaterialDialog constructor

const MaterialDialog({
  1. required bool isActionInProgress,
  2. required dynamic onCancelPressed(),
  3. required dynamic onActionButtonPressed(),
  4. Key? key,
  5. String? title,
  6. String? content,
  7. String? confirmationButtonLabel,
  8. String? cancelButtonLabel,
  9. AdaptiveProgressDialogStyle? adaptiveProgressDialogStyle,
})

Implementation

const MaterialDialog({
  required this.isActionInProgress,
  required this.onCancelPressed,
  required this.onActionButtonPressed,
  super.key,
  this.title,
  this.content,
  this.confirmationButtonLabel,
  this.cancelButtonLabel,
  this.adaptiveProgressDialogStyle,
});