Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Getting slider progress as a 0 - 1 value #22

Open
sundayz opened this issue Sep 29, 2022 · 1 comment
Open

Getting slider progress as a 0 - 1 value #22

sundayz opened this issue Sep 29, 2022 · 1 comment
Labels

Comments

@sundayz
Copy link

sundayz commented Sep 29, 2022

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?

@lannodev
Copy link
Owner

lannodev commented Oct 6, 2022

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants