hasAutofocusWhere method
Expects that autofocus of TextField matches the condition in match
.
Example usage:
spot<TextField>().existsOnce().hasAutofocusWhere((it) => it.isTrue());
Implementation
WidgetMatcher<TextField> hasAutofocusWhere(MatchProp<bool> match) {
return hasDiagnosticProp<bool>('autofocus', match);
}