selectionColor property

Color? selectionColor
final

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

final Color? selectionColor;