isButton constant

SemanticsFlag const isButton = const SemanticsFlag._(_kIsButtonIndex)

Whether the semantic node represents a button.

Platforms has special handling for buttons, for example Android's TalkBack and iOS's VoiceOver provides an additional hint when the focused object is a button.

Implementation

static const SemanticsFlag isButton = const SemanticsFlag._(_kIsButtonIndex)