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