ConfirmationAlertDialog constructor
const
ConfirmationAlertDialog({
- Key? key,
- String? title,
- Widget? titleWidget,
- String? message,
- Widget? content,
- String positiveText = "Yes",
- String negativeText = "No",
- required VoidCallback onConfirm,
- 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,
});