removeChild method

void removeChild(
  1. RenderNode? node, {
  2. bool needRemoveChild = true,
})

Implementation

void removeChild(RenderNode? node, {bool needRemoveChild = true}) {
  if (node != null) {
    _notifyManageChildren = true;
    deleteChild(node, needRemoveChild: needRemoveChild);
  }
}