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

Feature request - allow to display specific frame #47

Closed
danidino123 opened this issue Apr 14, 2020 · 2 comments
Closed

Feature request - allow to display specific frame #47

danidino123 opened this issue Apr 14, 2020 · 2 comments

Comments

@danidino123
Copy link

We would like to display first or last frame in some cases. would be great to have this ability

@luis-cruzt
Copy link

This would be great.

@xvrh
Copy link
Owner

xvrh commented Apr 17, 2020

With a custom AnimationController you can control wish frame to show by specifiyng the controller.value (between 0.0 and 1.0)
I added this example on how to use an AnimationController: https://github.com/xvrh/lottie-flutter/blob/master/example/lib/examples/animation_full_control.dart

@xvrh xvrh closed this as completed Dec 12, 2020
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

3 participants