explicitChildNodes property
Whether descendants of this RenderObject are allowed to add semantic information to the SemanticsNode annotated by this widget.
When set to false descendants are allowed to annotate SemanticNode
s of
their parent with the semantic information they want to contribute to the
semantic tree.
When set to true the only way for descendants to contribute semantic
information to the semantic tree is to introduce new explicit
SemanticNode
s to the tree.
This setting is often used in combination with isSemanticBoundary
to
create semantic boundaries that are either writable or not for children.
Implementation
bool get explicitChildNodes => _explicitChildNodes;
Implementation
set explicitChildNodes(bool value) {
assert(value != null);
if (_explicitChildNodes == value)
return;
_explicitChildNodes = value;
markNeedsSemanticsUpdate();
}