removeWhere method
Removes all the children for which the test
function returns true.
Implementation
void removeWhere(bool Function(Component component) test) {
children.where(test).toList(growable: false).forEach(_removeChild);
}
Removes all the children for which the test
function returns true.
void removeWhere(bool Function(Component component) test) {
children.where(test).toList(growable: false).forEach(_removeChild);
}