renderObjectList< T extends RenderObject> method
The render objects of the matching widgets in the widget tree.
- Use renderObject if you only expect to match one render object.
- Use firstRenderObject if you expect to match several but only want the first.
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;
});
}