ConditionalElementVisitor typedef

ConditionalElementVisitor = bool Function(Element element)

Signature for the callback to BuildContext.visitAncestorElements.

The argument is the ancestor being visited.

Return false to stop the walk.

Implementation

typedef ConditionalElementVisitor = bool Function(Element element);