enableInteractiveSelection property

bool enableInteractiveSelection

Whether to enable user interface affordances for changing the text selection.

For example, setting this to true will enable features such as long-pressing the TextField to select text and show the cut/copy/paste menu, and tapping to move the text caret.

When this is false, the text selection cannot be adjusted by the user, text cannot be copied, and the user cannot paste into the text field from the clipboard.

Defaults to true.


final bool enableInteractiveSelection;