inactiveDividerRadius property
Specifies the radius for the inactive divider in the SfSlider
,
SfRangeSlider
, and SfRangeSelector
.
By default, inactive divider will be in same height of inactive track.
This snippet shows how to set inactive divider radius in SfRangeSliderThemeData.
SfRangeValues _values = SfRangeValues(4.0, 7.0);
Scaffold(
body: Center(
child: SfRangeSliderTheme(
data: SfRangeSliderThemeData(
inactiveDividerRadius: 5,
),
child: SfRangeSlider(
min: 2.0,
max: 10.0,
values: _values,
onChanged: (SfRangeValues newValues){
setState(() {
_values = newValues;
});
},
)
),
)
)
Implementation
final double? inactiveDividerRadius;