ConfirmDialogProps constructor

const ConfirmDialogProps({
  1. required String title,
  2. required String message,
  3. String confirmText = 'Confirm',
  4. String cancelText = 'Cancel',
  5. void onConfirm()?,
  6. void onCancel()?,
  7. bool destructive = false,
  8. Widget? icon,
})

Implementation

const ConfirmDialogProps({
  required this.title,
  required this.message,
  this.confirmText = 'Confirm',
  this.cancelText = 'Cancel',
  this.onConfirm,
  this.onCancel,
  this.destructive = false,
  this.icon,
});