ConfirmationDialog constructor

const ConfirmationDialog({
  1. Key? key,
  2. required String title,
  3. String? content,
  4. Widget? child,
  5. required VoidCallback onConfirm,
  6. VoidCallback? onCancel,
  7. String? okText,
  8. Color? okColor,
  9. String? cancelText,
  10. Color? cancelColor,
  11. IconData? icon,
})

Implementation

const ConfirmationDialog({
  super.key,
  required this.title,
  this.content,
  this.child,
  required this.onConfirm,
  this.onCancel,
  this.okText,
  this.okColor,
  this.cancelText,
  this.cancelColor,
  this.icon,
});