defaultSpellCheckSuggestionsToolbarBuilder static method
Widget
defaultSpellCheckSuggestionsToolbarBuilder(
- 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 CupertinoInput.
- SpellCheckConfiguration.spellCheckSuggestionsToolbarBuilder, the parameter for which this is the default value for CupertinoInput.
- TextField.defaultSpellCheckSuggestionsToolbarBuilder, which is like this but specifies the default for CupertinoInput.
Implementation
@visibleForTesting
static Widget defaultSpellCheckSuggestionsToolbarBuilder(
BuildContext context,
EditableTextState editableTextState,
) {
return CupertinoSpellCheckSuggestionsToolbar.editableText(
editableTextState: editableTextState,
);
}