selectionColor property Null safety
The color to use when painting the selection.
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();
}
}