AtomicAlertDialog constructor

const AtomicAlertDialog({
  1. Key? key,
  2. String title = '',
  3. String content = '',
  4. String cancelText = '',
  5. String confirmText = '',
  6. bool isDestructive = false,
  7. VoidCallback? onConfirm,
  8. VoidCallback? onCancel,
})

Implementation

const AtomicAlertDialog({
  super.key,
  this.title = '',
  this.content = '',
  this.cancelText = '',
  this.confirmText = '',
  this.isDestructive = false,
  this.onConfirm,
  this.onCancel,
});