onConfirm property
void Function()?
onConfirm
final
Callback when the confirm button is pressed. If null, the confirm button will not be shown.
Implementation
final void Function()? onConfirm;
Callback when the confirm button is pressed. If null, the confirm button will not be shown.
final void Function()? onConfirm;