showConfirmationDialog abstract method
void
showConfirmationDialog({})
Shows a confirmation dialog.
title The title of the dialog.
message The message to display.
confirmText The text for the confirm button.
cancelText The text for the cancel button.
onConfirm Callback when the user confirms (receives true if confirmed).
Implementation
void showConfirmationDialog({
required BuildContext context,
required String title,
required String message,
required String confirmText,
required String cancelText,
required void Function(bool) onConfirm,
});