renderObjectList<T extends RenderObject> method

Iterable<T> renderObjectList<T extends RenderObject>(
  1. FinderBase<Element> finder
)

The render objects of the matching widgets in the widget tree.

Implementation

Iterable<T> renderObjectList<T extends RenderObject>(finders.FinderBase<Element> finder) {
  TestAsyncUtils.guardSync();
  return finder.evaluate().map<T>((Element element) {
    final T result = element.renderObject! as T;
    return result;
  });
}