removeRootRenderObjectChild method
Remove a top-level render child from the attached root render object.
Implementation
void removeRootRenderObjectChild(RenderObject child) {
final root = _rootRenderObject;
if (root != null && child.parent == root) {
root.setChild(null);
}
}