whereAutocorrect method

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

Creates a WidgetSelector that finds all TextField where autocorrect matches the condition.

Example usage:

spot<TextField>().whereAutocorrect((it) => it.isTrue()).existsOnce();

Implementation

@useResult
WidgetSelector<TextField> whereAutocorrect(MatchProp<bool> match) {
  return withDiagnosticProp<bool>('autocorrect', match);
}