attach method

void attach(
  1. RenderObject child
)

Implementation

void attach(RenderObject child) {
  children.add(child);
  child.parent = this;
}