DraftModeUIDialog constructor

const DraftModeUIDialog({
  1. Key? key,
  2. required String title,
  3. required String message,
  4. String? confirmLabel,
  5. String? cancelLabel,
  6. DraftModeUIDialogStyle mode = DraftModeUIDialogStyle.confirm,
  7. Duration? autoConfirm,
})

Implementation

const DraftModeUIDialog({
  super.key,
  required this.title,
  required this.message,
  this.confirmLabel,
  this.cancelLabel,
  this.mode = DraftModeUIDialogStyle.confirm,
  this.autoConfirm,
});