renderObjectList<T extends RenderObject> method

Iterable<T> renderObjectList <T extends RenderObject>(Finder finder)

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

Implementation

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