Open ehaberkorn opened 3 years ago
Hello. sorry for my late response.
This is a bug and is fixed in the upcoming version.
The cause of the bug is setState
which sets state to initial value. and your initial value in values
array is 3, so the fixed value for 3 is 6
Also the way you use values
is not correct. values
array only accepts two number, one for lower and one for upper values.
the next version will be ready in the next couple days
Hi, thanks for the info. I have fixed my values to only two. Also I found out that, if any of the other widgets I use in my view calls setState() the slider gets reset. I guess that this will be fixed with the next version because it is related to this issue.
@Ali-Azmoud is there any progress? Sorry for the pressure, but I need this urgently...
still not fixed?
If I set the percent inside on FlutterSliderFixedValue to 3 and the value to 6, the 6 keeps showing up as selected even if it is not. When I leave the 3 out as percent everything works as expected. Please refer to the code snippet below.