appendChild method
Node
appendChild(
- Node child
)
inherited
Implementation
@override
@mustCallSuper
Node appendChild(Node child) {
super.appendChild(child);
_debugCheckNestedInline(child);
if (isRendererAttached) {
// Only append child renderer when which is not attached.
if (!child.isRendererAttached) {
if (scrollingContentLayoutBox != null) {
child.attachTo(this, after: scrollingContentLayoutBox!.lastChild);
} else {
child.attachTo(this, after: _renderLayoutBox!.lastChild);
}
}
}
return child;
}