excludeSemantics property

bool excludeSemantics

Whether descendants of this RenderObject should have their semantic information ignored.

When this flag is set to true, all child semantics nodes are ignored. This can be used as a convenience for cases where a child is wrapped in an ExcludeSemantics widget and then another Semantics widget.

Implementation

bool get excludeSemantics => _excludeSemantics;
void excludeSemantics=(bool value)

Implementation

set excludeSemantics(bool value) {
  if (_excludeSemantics == value) {
    return;
  }
  _excludeSemantics = value;
  markNeedsSemanticsUpdate();
}