onDismiss property Null safety

VoidCallback? onDismiss

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.


final VoidCallback? onDismiss;