onDismiss property
Called when the user taps the dismiss (×) button.
When null no dismiss button is shown.
Implementation
final VoidCallback? onDismiss;
Called when the user taps the dismiss (×) button.
When null no dismiss button is shown.
final VoidCallback? onDismiss;