onCancel property
Called when the user cancels. When null, only the back gesture closes
the sheet.
Implementation
final VoidCallback? onCancel;
Called when the user cancels. When null, only the back gesture closes
the sheet.
final VoidCallback? onCancel;