()

editableTextState

cutSelection

SelectionChangedCause

toolbar

);

},

type:

ContextMenuButtonType

cut

),

],

);

},

TextSelectionControls.canCut and other button booleans

These booleans previously had the same effect of enabling and disabling certain
buttons as ToolbarOptions.cut, and so on had. Before this change, you might
have been hiding and showing buttons by overriding TextSelectionControls and
setting these booleans like this:

// Deprecated.

class

_MyMaterialTextSelectionControls

extends

MaterialTextSelectionControls

@override

bool

canCut

()

false