selectionColor property

  1. @override
Color? get selectionColor
override

The color to use when painting the selection.

This is ignored if SelectionContainer.maybeOf returns null in the BuildContext of the Text widget.

If null, the ambient DefaultSelectionStyle is used (if any); failing that, the selection color defaults to DefaultSelectionStyle.defaultColor (semi-transparent grey).

Implementation

@override
Color? get selectionColor => ($value as dynamic).selectionColor;