walkElement static method

void walkElement(
  1. Element element,
  2. ElementWalker walker
)

Implementation

static void walkElement(Element element, ElementWalker walker) {
  element.visitChildren((child) {
    if (walker(child, element)) {
      walkElement(child, walker);
    }
  });
}