onCancel property
void Function()?
onCancel
final
Callback for the Cancel button
Implementation
final void Function()? onCancel;
Callback for the Cancel button
final void Function()? onCancel;