dismiss constant

SemanticsAction const dismiss

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, 'dismiss');