removeRenderObjectChild method
- covariant RenderObject child,
- covariant Object? slot
override
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
@override
void removeRenderObjectChild(RenderObject child, Object? slot) {
final RenderObjectWithChildMixin<RenderObject> renderObject = this.renderObject as RenderObjectWithChildMixin<RenderObject>;
assert(slot == null);
assert(renderObject.child == child);
renderObject.child = null;
assert(renderObject == this.renderObject);
}