dropChild method

void dropChild(
  1. PipelineOwner child

Removes a child PipelineOwner previously added via adoptChild.

This node will cease to call the flush methods on the child during frame production.

No children may be removed after the PipelineOwner has started calling flushLayout on any of its children until the end of the current frame.


void dropChild(PipelineOwner child) {
  assert(child._debugParent == this);
  assert(_debugAllowChildListModifications, 'Cannot modify child list after layout.');
  if (!kReleaseMode) {
    _debugSetParent(child, null);
  if (_manifold != null) {