});

return

AdaptiveTextSelectionToolbar

buttonItems

anchors:

editableTextState

contextMenuAnchors

buttonItems:

buttonItems

);

},

Or, you could ensure that the Cut button appears exclusively and always:

TextField

contextMenuBuilder:

context

editableTextState

return

AdaptiveTextSelectionToolbar

buttonItems

anchors:

editableTextState

contextMenuAnchors

buttonItems:

ContextMenuButtonItem

>[

ContextMenuButtonItem

onPressed:

()

editableTextState

cutSelection