visitChildren method

  1. @override
void visitChildren (
  1. RenderObjectVisitor visitor
)
inherited

Calls visitor for each immediate child of this render object.

Override in subclasses with children and call the visitor for each child.

Implementation

@override
void visitChildren(RenderObjectVisitor visitor) {
  if (_child != null)
    visitor(_child);
}