ExtendedSpellCheckSuggestionsToolbar constructor
const
ExtendedSpellCheckSuggestionsToolbar({
- Key? key,
- required Offset anchor,
- required List<
ContextMenuButtonItem> buttonItems,
Constructs a ExtendedSpellCheckSuggestionsToolbar.
buttonItems must not contain more than four items, generally three suggestions and one delete button.
Implementation
const ExtendedSpellCheckSuggestionsToolbar({
super.key,
required this.anchor,
required this.buttonItems,
}) : assert(buttonItems.length <= _kMaxSuggestions + 1);