renderObjectList<T extends RenderObject> method
- FinderBase<
Element> finder
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>(finders.FinderBase<Element> finder) {
TestAsyncUtils.guardSync();
return finder.evaluate().map<T>((Element element) {
final T result = element.renderObject! as T;
return result;
});
}