removeChildRenderObject method

  1. @override
void removeChildRenderObject (covariant RenderObject child)
override

Remove the given child from renderObject.

The given child is guaranteed to have renderObject as its parent.

Implementation

@override
void removeChildRenderObject(RenderObject child) {
  final ContainerRenderObjectMixin<RenderObject, ContainerParentDataMixin<RenderObject>> renderObject = this.renderObject;
  assert(child.parent == renderObject);
  renderObject.remove(child);
  assert(renderObject == this.renderObject);
}