hasEnableSuggestionsWhere method

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

Expects that enableSuggestions of TextField matches the condition in match.

Example usage:

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

Implementation

WidgetMatcher<TextField> hasEnableSuggestionsWhere(MatchProp<bool> match) {
  return hasDiagnosticProp<bool>('enableSuggestions', match);
}