WaitFor constructor

WaitFor(
  1. SerializableFinder finder,
  2. {Duration timeout}
)

Creates a command that waits for the widget identified by finder to appear within the timeout amount of time.

If timeout is not specified the command times out after 5 seconds.

Implementation

WaitFor(SerializableFinder finder, {Duration timeout})
  : super(finder, timeout: timeout);