remove method
Remove a child node.
Implementation
@override
void remove(Node child) {
if (child._parent != this) {
throw Exception('Child is not attached to this node');
}
children.remove(child);
child._parent = null;
child._markWorldTransformDirty();
if (child._renderScene != null) {
child._unmount();
}
markBoundsDirty();
}