waitUntilVisible method
Waits until this finder finds at least one visible widget.
Throws a WaitUntilVisibleTimeoutException if more time than specified by timeout passed and no widgets were found.
Timeout is globally set by PatrolTester.config.visibleTimeout
. If you
want to override this global setting, set timeout
.
Implementation
Future<PatrolFinder> waitUntilVisible({Duration? timeout}) {
return tester.waitUntilVisible(this, timeout: timeout);
}