Iterable<Element> elementList(Finder finder)

The matching elements in the widget tree.

  • Use element if you only expect to match one element.
  • Use firstElement if you expect to match several but only want the first.

Source

Iterable<Element/*=T*/> elementList/*<T extends Element>*/(Finder finder) {
  TestAsyncUtils.guardSync();
  return finder.evaluate();
}