ensureVisible method

Future<void> ensureVisible (
  1. Finder finder
)

Given a widget W specified by finder and a Scrollable widget S in its ancestry tree, this scrolls S so as to make W visible.

Shorthand for Scrollable.ensureVisible(tester.element(finder))

Implementation

Future<void> ensureVisible(Finder finder) => Scrollable.ensureVisible(element(finder));