matthewfx / sleek_circular_slider

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

Disabling Sliding Property #41

Closed Chetan-Goyal closed 3 years ago

Chetan-Goyal commented 3 years ago

I have used a button widget inside SleekCircularSlider() but when button is disabled, I want to disable the slide property of the slider and vice versa . In other words, I want to do enable/ disable slider based on a boolean value.

I was wondering if is there any way to make this thing possible as I was unable to find any parameter that would be helpful in my case.

Chetan-Goyal commented 3 years ago

Issue is fixed by passing null to onChanged of SleekCircularSlider().

matthewfx commented 3 years ago

Awesome! 👍