whereEnableSuggestions method

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

Creates a WidgetSelector that finds all EditableText where enableSuggestions matches the condition.

Example usage:

spot<EditableText>().whereEnableSuggestions((it) => it.isTrue()).existsOnce();

Implementation

@useResult
WidgetSelector<EditableText> whereEnableSuggestions(MatchProp<bool> match) {
  return withDiagnosticProp<bool>('enableSuggestions', match);
}