detach method

void detach(
  1. RenderObject child
)

Implementation

void detach(RenderObject child) {
  children.remove(child);
  child.parent = null;
}