ConfirmationAlertDialog constructor

const ConfirmationAlertDialog({
  1. Key? key,
  2. String? title,
  3. Widget? titleWidget,
  4. String? message,
  5. Widget? content,
  6. String positiveText = "Yes",
  7. String negativeText = "No",
  8. required VoidCallback onConfirm,
  9. VoidCallback? onCancel,
})

Implementation

const ConfirmationAlertDialog({
  super.key,
  this.title,
  this.titleWidget,
  this.message,
  this.content,
  this.positiveText = "Yes",
  this.negativeText = "No",
  required this.onConfirm,
  this.onCancel,
});