onCancel property
Called when the cancel button is tapped.
If showsCancelButton is true and this callback is provided, the cancel button will be shown.
Implementation
final VoidCallback? onCancel;
Called when the cancel button is tapped.
If showsCancelButton is true and this callback is provided, the cancel button will be shown.
final VoidCallback? onCancel;