hasAutocorrectWhere method

WidgetMatcher<TextField> hasAutocorrectWhere(
  1. MatchProp<bool> match
)

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