context

));

},

));

return

AdaptiveTextSelectionToolbar

buttonItems

anchors:

editableTextState

contextMenuAnchors

buttonItems:

buttonItems

);

},

A large number of examples of different custom context menus are available in
the samples repo
on GitHub.

All related deprecated features were flagged with the deprecation warning “Use
contextMenuBuilder instead.”

Migration guide