enableInteractiveSelection property

bool enableInteractiveSelection
final

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 editor to select text and show the cut/copy/paste menu, and tapping to move the text cursor.

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.

Implementation

final bool enableInteractiveSelection;