remove method

void remove(
  1. C child
)

Removes a child from the children list.

Implementation

void remove(C child) {
  _children.remove(child);
  child.parent = null;
  markNeedsLayout();
}