excludeFromSemantics property

bool excludeFromSemantics
final

Whether to exclude the gestures introduced by this widget from the semantics tree.

For example, a long-press gesture for showing a tooltip is usually excluded because the tooltip itself is included in the semantics tree directly and so having a gesture to show it would result in duplication of information.

Implementation

final bool excludeFromSemantics