removeRenderObjectChild method Null safety
- covariant RenderObject child,
- covariant int 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(covariant RenderObject child, int slot) {
assert(_currentlyUpdatingChildIndex != null);
renderObject.remove(child as RenderBox);
}