SpellCheckSuggestionsToolbar.editableText constructor
- Key? key,
 - required EditableTextState editableTextState,
 
Constructs a SpellCheckSuggestionsToolbar with the default children for an EditableText.
See also:
- CupertinoSpellCheckSuggestionsToolbar.editableText, which is similar but builds an iOS-style toolbar.
 
Implementation
SpellCheckSuggestionsToolbar.editableText({
  super.key,
  required EditableTextState editableTextState,
}) : buttonItems = buildButtonItems(editableTextState) ?? <ContextMenuButtonItem>[],
     anchor = getToolbarAnchor(editableTextState.contextMenuAnchors);