KinDialog constructor

const KinDialog({
  1. Key? key,
  2. required String title,
  3. String? message,
  4. Widget? content,
  5. String confirmLabel = 'OK',
  6. String? cancelLabel,
  7. VoidCallback? onConfirm,
  8. VoidCallback? onCancel,
  9. bool isDestructive = false,
})

Implementation

const KinDialog({
  super.key,
  required this.title,
  this.message,
  this.content,
  this.confirmLabel = 'OK',
  this.cancelLabel,
  this.onConfirm,
  this.onCancel,
  this.isDestructive = false,
});