hasSpellCheckConfigurationWhere method

WidgetMatcher<TextField> hasSpellCheckConfigurationWhere(
  1. MatchProp<SpellCheckConfiguration> match
)

Expects that spellCheckConfiguration of TextField matches the condition in match.

Example usage:

spot<TextField>().existsOnce().hasSpellCheckConfigurationWhere((it) => it.equals(SpellCheckConfiguration()));

Implementation

WidgetMatcher<TextField> hasSpellCheckConfigurationWhere(
    MatchProp<SpellCheckConfiguration> match) {
  return hasDiagnosticProp<SpellCheckConfiguration>(
      'spellCheckConfiguration', match);
}