thumbColor property

Color? thumbColor

The color of the thumb.

If this color is null, Slider will use activeColor, If activeColor is also null, Slider will use SliderThemeData.thumbColor.

If that is also null, defaults to ColorScheme.primary.

  • CupertinoSlider will have a white thumb (like the native default iOS slider).


final Color? thumbColor;