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 RenderObjectWithChildMixin<RenderObject> renderObject = this.renderObject;
  assert(renderObject.child == child);
  renderObject.child = null;
  assert(renderObject == this.renderObject);
}