removeAll method

void removeAll(
  1. Iterable<Component> components
)

Removes all the children in the list and calls onRemove for all of them and their children.

Implementation

void removeAll(Iterable<Component> components) => components.forEach(remove);