disabledThumbColor property
Specifies the color for the disabled thumb in the SfSlider
,
SfRangeSlider
, and SfRangeSelector
.
This snippet shows how to set disabled thumb color in SfRangeSliderThemeData.
SfRangeValues _values = SfRangeValues(4.0, 8.0);
Scaffold(
body: Center(
child: SfRangeSliderTheme(
data: SfRangeSliderThemeData(
disabledThumbColor: Colors.orange,
),
child: SfRangeSlider(
min: 2.0,
max: 10.0,
values: _values,
)
),
)
)
Implementation
final Color? disabledThumbColor;