hasSpellCheckConfiguration method

WidgetMatcher<TextField> hasSpellCheckConfiguration(
  1. SpellCheckConfiguration? value
)

Expects that spellCheckConfiguration of TextField equals (==) value.

Example usage:

spot<TextField>().existsOnce().hasSpellCheckConfiguration(SpellCheckConfiguration());

Implementation

WidgetMatcher<TextField> hasSpellCheckConfiguration(
    SpellCheckConfiguration? value) {
  return hasDiagnosticProp<SpellCheckConfiguration>('spellCheckConfiguration',
      (it) => value == null ? it.isNull() : it.equals(value));
}