selectionColor property
The color to use when painting the selection.
For CupertinoTextFields, the value is set to the ambient
CupertinoThemeData.primaryColor with 20% opacity. For TextFields, the
value is set to the ambient ThemeData.textSelectionColor
.
Implementation
final Color? selectionColor;