matthewfx / sleek_circular_slider

Sleek circular slider for Flutter
MIT License
524 stars 102 forks source link

Question: Possible to define Divisions #95

Open alexanderwwagner opened 1 year ago

alexanderwwagner commented 1 year ago

Hi, I would like to know if it is possible to define divisions for the sleek-Circular_slider? For example I would like to have a slider from 0 - 10 and have steps of 2 at each change...

I try to reach my goal with this manipulation: onChange: (value) => value.ceil() * 2,

But it seems this has no effect on the value

Do you have any tip to reach my goal?

Thank you!