dropChild method
Detaches child from this render object.
Implementation
@protected
void dropChild(RenderObject child) {
assert(child._parent == this, 'dropChild called on the wrong parent.');
child.parentData?.detach();
child.parentData = null;
child._parent = null;
markNeedsLayout();
}