removeRenderObjectChild method Null safety
- covariant RenderBox child,
- covariant S 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(RenderBox child, S slot) {
if (renderObject._slotToChild[slot] == child) {
renderObject._setChild(null, slot);
assert(renderObject._slotToChild[slot] == null);
}
}