onDismiss property
final
Called when the user dismisses (scrim tap, Esc, back): flip the state that feeds isOpen - state down, events up.
Implementation
final VoidCallback onDismiss;
Called when the user dismisses (scrim tap, Esc, back): flip the state that feeds isOpen - state down, events up.
final VoidCallback onDismiss;