BoldDeskBoldDesk is now live on Product Hunt with a special offer: 50% off all plans. Let's grow together! Support us.
It seems like the readme for SfSlider implies that there is a possibility of using a secondary track in the slider somehow. In the top most slider of the picture(https://help.syncfusion.com/flutter/slider/overview ) you can see that there's a dark green track for active, a light green for inactive and then there's still a segment of light red track in the end. However I can't seem to find an answer for this anywhere in the Syncfusion manual. Is there such a feature in the slider and if there is, how is it supposed to be accessed?
Hi Joakim Eriksson,
We have achieved your requirements using the trackShape and thumShape properties in the Slider. We extended the SfTrackShape and SfThumbShape classes and customized the track and thumb colors based on the slider values in paint method. We have then assigned these classes to the trackShape and thumShape properties. A sample has been prepared and is shared below for your reference.
Regards,
Lavanya A.
Attachment: f180434_db880f0c.zip
Thank you! I had a hunch that if there's something it's in the TrackShape class. I will use your example to decypher the track colors.
Hi Joakim,
Most Welcome. Kindly get back to us if you have further queries. We are always happy to assist you.
Regards,
Yuvaraj.