SpellCheckConfiguration constructor

const SpellCheckConfiguration(
  1. {SpellCheckService? spellCheckService,
  2. Color? misspelledSelectionColor,
  3. TextStyle? misspelledTextStyle,
  4. EditableTextContextMenuBuilder? spellCheckSuggestionsToolbarBuilder}
)

Creates a configuration that specifies the service and suggestions handler for spell check.

Implementation

const SpellCheckConfiguration({
  this.spellCheckService,
  this.misspelledSelectionColor,
  this.misspelledTextStyle,
  this.spellCheckSuggestionsToolbarBuilder,
}) : _spellCheckEnabled = true;