whereAutocorrect method

  1. @useResult
WidgetSelector<EditableText> whereAutocorrect(
  1. MatchProp<bool> match
)

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);
}