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