WheelChooser icon indicating copy to clipboard operation
WheelChooser copied to clipboard

Debouncing the onValueChanged values?

Open arnab opened this issue 1 year ago • 0 comments

First of all, thanks a lot for a great package. In my audio app, I am using the WheelChooser.custom to show a speed-selector. The user can drag the slider to select a value.

I see that for each intermediate step in the slider, the onValueChanged callback is called. For example, if a user slides from 1 and 10, the onValueChanged callback is called for 1, 2, 3... and finally 10.

How can set up a debouncing mechanism, since I am only interested in the end-result of the drag (and not all intermediate values)?


If it is not possible right now, is it possible to add a onChangeEnd method?

The syncfusion_flutter_sliders - which is also a slider plugin - has a onChangeEnd method.

arnab avatar Oct 04 '24 05:10 arnab