selectionColor property Null safety

Color? selectionColor

The color to use when painting the selection.

Implementation

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

Implementation

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