To verify that a widget is not displayed,
use the waitForAbsent method.

integration_test

In integration_test, use tester.tap to perform the tap actions.

After the tap action, you must call to tester.pumpAndSettle to wait
until the action has finished, and all the UI changes have happened.

To verify that a widget is not displayed, use the same expect
function with the findsNothing matcher.

Example: Scrolling

This test is similar to the previous test,
but it scrolls down and taps the last item instead.

flutter_driver

To scroll down with flutter_driver,
use the driver.scroll method.

You must provide the widget to perform the scrolling action,
as well as a duration for the scroll.

You also have to provide the total offset for the scrolling action.

integration_test