defaultSpellCheckSuggestionsToolbarBuilder static method
- BuildContext context,
- EditableTextState editableTextState
Default builder for the spell check suggestions toolbar in the Cupertino style.
See also:
- spellCheckConfiguration, where this is typically specified for CupertinoTextField.
- SpellCheckConfiguration.spellCheckSuggestionsToolbarBuilder, the parameter for which this is the default value for CupertinoTextField.
- TextField.defaultSpellCheckSuggestionsToolbarBuilder, which is like this but specifies the default for CupertinoTextField.
Implementation
@visibleForTesting
static Widget defaultSpellCheckSuggestionsToolbarBuilder(
BuildContext context,
EditableTextState editableTextState,
) {
return CupertinoSpellCheckSuggestionsToolbar.editableText(
editableTextState: editableTextState,
);
}