whereAutocorrect method
Creates a WidgetSelector that finds all EditableText where autocorrect matches the condition.
Example usage:
spot<EditableText>().whereAutocorrect((it) => it.isTrue()).existsOnce();
Implementation
@useResult
WidgetSelector<EditableText> whereAutocorrect(MatchProp<bool> match) {
return withDiagnosticProp<bool>('autocorrect', match);
}