overlayColor property

MaterialStateProperty<Color?>? overlayColor

The highlight color that's typically used to indicate that the range slider thumb is hovered or dragged.

If this property is null, RangeSlider will use activeColor with an opacity of 0.12. If null, SliderThemeData.overlayColor will be used, otherwise defaults to ColorScheme.primary with an opacity of 0.12.


final MaterialStateProperty<Color?>? overlayColor;