dropChild method

void dropChild(
  1. RenderObject child
)
inherited

Remove a child from this render object

Implementation

void dropChild(RenderObject child) {
  assert(child.parent == this, 'Child does not belong to this parent');
  child.parent = null;
  children.remove(child);
  markNeedsLayout();
}