withSpellCheckConfiguration method

  1. @useResult
WidgetSelector<EditableText> withSpellCheckConfiguration(
  1. SpellCheckConfiguration? value
)

Creates a WidgetSelector that finds all EditableText where spellCheckConfiguration equals (==) value.

Example usage:

spot<EditableText>().withSpellCheckConfiguration(SpellCheckConfiguration()).existsOnce();

Implementation

@useResult
WidgetSelector<EditableText> withSpellCheckConfiguration(
    SpellCheckConfiguration? value) {
  return withDiagnosticProp<SpellCheckConfiguration>(
      'spellCheckConfiguration',
      (it) => value == null ? it.isNull() : it.equals(value));
}