selectionColor property

Color? get selectionColor

The color to use when painting the selection.

Ignored if the text is not selectable (e.g. if registrar is null).

Implementation

Color? get selectionColor => _selectionColor;
set selectionColor (Color? value)

Implementation

set selectionColor(Color? value) {
  if (_selectionColor == value) {
    return;
  }
  _selectionColor = value;
  if (_lastSelectableFragments?.any((_SelectableFragment fragment) => fragment.value.hasSelection) ?? false) {
    markNeedsPaint();
  }
}