walk static method

void walk(
  1. BuildContext? context,
  2. ElementWalker walker
)

Implementation

static void walk(BuildContext? context, ElementWalker walker) {
  if (context == null) {
    return;
  }
  context.visitChildElements((element) {
    if (walker(element, null)) {
      walkElement(element, walker);
    }
  });
}