addChild method

void addChild(
  1. RenderBox child
)
inherited

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;
  }
}