removeChild method

void removeChild(
  1. RenderBox child,
  2. TKey nodeId
)

Removes the child for the specified node.

Implementation

void removeChild(RenderBox child, TKey nodeId) {
  if (identical(_children[nodeId], child)) {
    _children.remove(nodeId);
  }
  dropChild(child);
}