RenderObjectVisitor typedef Null safety

RenderObjectVisitor = void Function(RenderObject child)

Signature for a function that is called for each RenderObject.

Used by RenderObject.visitChildren and RenderObject.visitChildrenForSemantics.

The child argument must not be null.

Implementation

typedef RenderObjectVisitor = void Function(RenderObject child);