labels property
final
Labels to show as text in the SliderThemeData.rangeValueIndicatorShape when the slider is active and SliderThemeData.showValueIndicator is satisfied.
There are two labels: one for the start thumb and one for the end thumb.
Each label is rendered using the active ThemeData's TextTheme.bodyLarge text style, with the theme data's ColorScheme.onPrimary color. The label's text style can be overridden with SliderThemeData.valueIndicatorTextStyle.
If null, then the value indicator will not be displayed.
See also:
- RangeSliderValueIndicatorShape for how to create a custom value indicator shape.
Implementation
final RangeLabels? labels;