enableInteractiveSelection property

bool? enableInteractiveSelection

Whether to allow the user to change the selection.

Since RenderEditable does not handle selection manipulation itself, this actually only affects whether the accessibility hints provided to the system (via describeSemanticsConfiguration) will enable selection manipulation. It's the responsibility of this object's owner to provide selection manipulation affordances.

This field is used by selectionEnabled (which then controls the accessibility hints mentioned above). When null, obscureText is used to determine the value of selectionEnabled instead.

Implementation

bool? get enableInteractiveSelection => _enableInteractiveSelection;
void enableInteractiveSelection=(bool? value)

Implementation

set enableInteractiveSelection(bool? value) {
  if (_enableInteractiveSelection == value) {
    return;
  }
  _enableInteractiveSelection = value;
  markNeedsTextLayout();
  markNeedsSemanticsUpdate();
}