dismiss constant

SemanticsAction const dismiss = const SemanticsAction._(_kDismissIndex)

A request that the node should be dismissed.

A Snackbar, for example, may have a dismiss action to indicate to the user that it can be removed after it is no longer relevant. On Android, (with TalkBack) special hint text is spoken when focusing the node and a custom action is available in the local context menu. On iOS, (with VoiceOver) users can perform a standard gesture to dismiss it.

Implementation

static const SemanticsAction dismiss = SemanticsAction._(_kDismissIndex)