DialogConfirm constructor

DialogConfirm({
  1. required String title,
  2. String? message,
  3. String confirmLabel = 'Confirm',
  4. String cancelLabel = 'Cancel',
  5. CmdCallback? onConfirm,
  6. CmdCallback? onCancel,
  7. Key? key,
})

Implementation

DialogConfirm({
  required this.title,
  this.message,
  this.confirmLabel = 'Confirm',
  this.cancelLabel = 'Cancel',
  this.onConfirm,
  this.onCancel,
  super.key,
});