ConfirmationDialog constructor

const ConfirmationDialog({
  1. Key? key,
  2. required String title,
  3. required String message,
  4. String confirmText = 'Confirm',
  5. String cancelText = 'Cancel',
  6. IconData? icon,
  7. bool destructive = false,
})

Implementation

const ConfirmationDialog({
  super.key,
  required this.title,
  required this.message,
  this.confirmText = 'Confirm',
  this.cancelText = 'Cancel',
  this.icon,
  this.destructive = false,
});