addChild method
Implementation
void addChild(RenderBox child) {
if (_renderLayoutBox != null) {
if (scrollingContentLayoutBox != null) {
scrollingContentLayoutBox!.add(child);
} else {
_renderLayoutBox!.add(child);
}
} else if (_renderIntrinsic != null) {
_renderIntrinsic!.child = child;
}
}