visitChildren method

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

Copied from SliverMultiBoxAdaptorElement.visitChildren.

Implementation

@override
void visitChildren(final ElementVisitor visitor) {
  // The toList() is to make a copy so that the underlying list can be modified by
  // the visitor:
  assert(!_childElements.values.any((Element child) => child == null));
  _childElements.values.cast<Element>().toList().forEach(visitor);
}