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