ElementVisitor typedef Null safety

ElementVisitor = void Function(Element element)

Signature for the callback to BuildContext.visitChildElements.

The argument is the child being visited.

It is safe to call element.visitChildElements reentrantly within this callback.

Implementation

typedef ElementVisitor = void Function(Element element);