forEachChild method

void forEachChild(
  1. DescentCallback cb
)
inherited

Implementation

void forEachChild(DescentCallback cb) {
  for (final child in children) {
    if (cb(child) == false) {
      continue;
    }
    if (child is ContainerComponent) {
      child.forEachChild(cb);
    }
  }
}