walk static method

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

Implementation

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