isButton constant

SemanticsFlag const isButton

Whether the semantic node represents a button.

Platforms have 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 = SemanticsFlag._(_kIsButtonIndex, 'isButton');