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

control speed between two destinations #4

Open
X-SLAYER opened this issue Jun 9, 2021 · 3 comments
Open

control speed between two destinations #4

X-SLAYER opened this issue Jun 9, 2021 · 3 comments

Comments

@X-SLAYER
Copy link
Contributor

X-SLAYER commented Jun 9, 2021

is there any way to control moving speed between two destinations if I want to slow it or speed it up

@ibrierley
Copy link
Owner

Heya, I'm not able to do any testing today to look thoroughly, but just to try and give some ideas...depending on how you are interfacing with it, could you simply change the duration ? Or do you mean mid draw or something.

@ibrierley
Copy link
Owner

Just another thought also...if you're using the widget, you can pass it an animationController (not sure I tested this properly, so mileage may very). So you could run your own separate controller and control various things https://api.flutter.dev/flutter/animation/AnimationController-class.html near the bottom there are things like the lowerBounds and velocity etc.

@X-SLAYER
Copy link
Contributor Author

X-SLAYER commented Jun 9, 2021

okay thnx no problem i will recheck that and give it a try

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

No branches or pull requests

2 participants