assembleSemanticsNode method
Assemble the SemanticsNode
for this RenderObject
.
If isSemanticBoundary
is true, this method is called with the node
created for this RenderObject
, the config
to be applied to that node
and the children
SemanticNode
s that descendants of this RenderObject
have generated.
By default, the method will annotate node
with config
and add the
children
to it.
Subclasses can override this method to add additional SemanticsNode
s
to the tree. If new SemanticsNode
s are instantiated in this method
they must be disposed in clearSemantics.
Implementation
void assembleSemanticsNode(
SemanticsNode node,
SemanticsConfiguration config,
Iterable<SemanticsNode> children,
) {
assert(node == _semantics);
node.updateWith(config: config, childrenInInversePaintOrder: children);
}