removeRenderObjectChild method Null safety

  1. @protected
void removeRenderObjectChild(
  1. covariant RenderObject child,
  2. covariant Object? slot
)

Remove the given child from renderObject.

The given child is guaranteed to have been inserted at the given slot and have renderObject as its parent.

Implementation

@protected
void removeRenderObjectChild(covariant RenderObject child, covariant Object? slot) {
  removeChildRenderObject(child);
}