copy:

true

),

Now, you can achieve the same effect by adjusting the buttonItems passed into
AdaptiveTextSelectionToolbar. For example, you could ensure that the Cut
button never appears, but the other buttons do appear as usual:

TextField

contextMenuBuilder:

context

editableTextState

final

List

ContextMenuButtonItem

buttonItems

editableTextState

contextMenuButtonItems

buttonItems

removeWhere

((

ContextMenuButtonItem

buttonItem

return

buttonItem

type

==

ContextMenuButtonType

cut

});

return

AdaptiveTextSelectionToolbar