visitChildren method

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

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) {
  super.visitChildren(visitor);
  if (_minProtoType != null) {
    visitor(_minProtoType!);
  }
  if (_maxProtoType != null) {
    visitor(_maxProtoType!);
  }
}