Hello ,I am new with range slider .i have added sfrangeslider but when i trying the thumbs make closer they are keeping minimum 4 distance(50,54). again sometimes it is not showing acual value . rander is displaying 27 but when i am storing the value ,i can see that the store value is 28.
Here is my code:
SfRangeValues _values = const SfRangeValues(45, 55);
SfRangeSliderTheme(
data: SfRangeSliderThemeData(
tooltipBackgroundColor: Colors.transparent,
thumbStrokeWidth: 2,
thumbStrokeColor: AppColors.white,
overlayRadius: 10,
labelOffset: Offset(0, -40),
),
child: SfRangeSlider(
min: 0,
max: 100,
showTicks: true,
showLabels: true,
inactiveColor: Colors.white,
enableTooltip: true,
shouldAlwaysShowTooltip: true,
stepSize: 1,
values: _values,
onChanged: (SfRangeValues newValues) {
setState(() {
_values = newValues;
print(_values.start.toString());
});
},
),
),
Thanks in advance.