onDismiss property
final
The handler for SemanticsAction.dismiss.
This is a request to dismiss the currently focused node.
TalkBack users on Android can trigger this action in the local context menu, and VoiceOver users on iOS can trigger this action with a standard gesture or menu option.
Implementation
final VoidCallback onDismiss