matthewfx / sleek_circular_slider

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

how to change slider value without user interaction #9

Closed yase-hesham closed 4 years ago

yase-hesham commented 4 years ago

Hello I was searching for a circle slider and i found yours , thanks for it ^^ so i'm using it for playing an audio , and i need to change it's value depends on my audio position, is there any way to handle this ?

matthewfx commented 4 years ago

Hi, Please check the random_value_page.dart in the example folder. Basically you need to pass that value to the initialValue parameter and refresh the state and don't pass anything into onChange or onChangeEndand that will disable user interaction.