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

Animations List in runtime #138

Closed
nisimjoseph opened this issue Aug 24, 2019 · 3 comments
Closed

Animations List in runtime #138

nisimjoseph opened this issue Aug 24, 2019 · 3 comments

Comments

@nisimjoseph
Copy link

I want to get all animation list defined in the Flare file and that Flutter can run.
for example, let's say I have 4 animations which supposed to be in the Flare file but one is missing, I can't find the API for this.
how can I know it missing or how can I know all the ones I can play?

@luigi-rosso
Copy link
Contributor

I’m not at my desk right now, but look into some of our examples that use custom a FlareController. You can query the artboard for animations (either via artboard.getAnimation or access the full list via artboard.animations).

@luigi-rosso
Copy link
Contributor

This article is a little more in-depth but it also discusses controllers: https://medium.com/2dimensions/building-an-interactive-login-screen-with-flare-flutter-749db628bb51

@nisimjoseph
Copy link
Author

thank you.

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