isVisualSelectionSupported method

bool isVisualSelectionSupported()

Returns true if this component changes its visual appearance when selected, or false otherwise.

A component that doesn't support visual selection should never be allowed to appear at the boundary of a selection. The user should not be able to tap this component to select it, nor should the user be able to expand a selection with this component as the base or extent. Implementation of these restrictions are the responsibility of the document layout.

Implementation

bool isVisualSelectionSupported() => true;