You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Material Slider track should be customizable. #19216
Currently the slider thumb and value indicator are fully customizable because the developer can provide their own painter for them, but they are stuck with the material slider's track.
It would be good to add a similar mechanism for the track, factoring out the existing track rendering, and adding a setting for it to the SliderThemeData class.
I think that also heigh of thumb should be added to theme data, and based on it, track height can scale to an size, I mean height. It is very overwhelming to use painter to change thumb size.
This thread has been automatically locked since there has not been any recent activity after it was closed. If you are still experiencing a similar issue, please open a new bug, including the output of flutter doctor -v and a minimal reproduction of the issue.
Activity
eduardhasanaj commentedon Jul 10, 2018
I think that also heigh of thumb should be added to theme data, and based on it, track height can scale to an size, I mean height. It is very overwhelming to use painter to change thumb size.
kibantony commentedon Jul 10, 2018
Here's an example of a slider design that we'd like to be able to achieve in Flutter:

gspencergoog commentedon Jul 10, 2018
Yeah, you won't be able to achieve that easily until we've fixed this limitation in the slider API.
kibantony commentedon Jul 10, 2018
Understood. Happy to roll our own until then.
clocksmith commentedon Feb 25, 2019
This is possible after #25008
zoechi commentedon Feb 26, 2019
Thanks @clocksmith !
github-actions commentedon Aug 15, 2021
This thread has been automatically locked since there has not been any recent activity after it was closed. If you are still experiencing a similar issue, please open a new bug, including the output of
flutter doctor -vand a minimal reproduction of the issue.