we_slide
we_slide copied to clipboard
Getting slider progress as a 0 - 1 value
It would be nice to have a way to obtain the "progress" of the slider as the user is dragging the panel up and down, in the form of a float value from 0 to 1.
This would allow us to animate other widgets that fade in and out based on whether the panel is open or not. At the moment the controller only tells you if the panel is open when the sliding motion is fully completed. This looks janky because things only appear on the screen long after they should've been visible.
I'm not sure what the best API for this would be, maybe Flutter provides a widget that can help here out of the box?
Hi @sundayz 👋 I'm looking into your suggestion, but I think this feature will add a break change. At the moment I'm very busy with my job. I will keep this issue open until I can implement