selectionColor property
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;
Implementation
set selectionColor(Color? value) {
if (_selectionColor == value) {
return;
}
_selectionColor = value;
if (_lastSelectableFragments?.any((_SelectableFragment fragment) => fragment.value.hasSelection) ?? false) {
markNeedsPaint();
}
}