SpellCheckSuggestionsToolbar.editableText constructor

SpellCheckSuggestionsToolbar.editableText({
  1. Key? key,
  2. required EditableTextState editableTextState,
})

Constructs a SpellCheckSuggestionsToolbar with the default children for an EditableText.

See also:

Implementation

SpellCheckSuggestionsToolbar.editableText({
  super.key,
  required EditableTextState editableTextState,
}) : buttonItems = buildButtonItems(editableTextState) ?? <ContextMenuButtonItem>[],
     anchor = getToolbarAnchor(editableTextState.contextMenuAnchors);