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

Initial loading: image/flare not visible #124

Closed
pdefuns opened this issue Jul 11, 2019 · 2 comments
Closed

Initial loading: image/flare not visible #124

pdefuns opened this issue Jul 11, 2019 · 2 comments

Comments

@pdefuns
Copy link

pdefuns commented Jul 11, 2019

We had to upgrade flare_flutter from version 1.3.13 to 1.5.4

With this newest version, all the flare animations are not shown initially. After some seconds, they are visible. But it looks really strange and we cannot go live like that.

@luigi-rosso
Copy link
Contributor

The latest versions of Flare do load files asynchronously to prevent blocking the UI when waiting for the Flare file to load. I’m surprised it’s taking multiple seconds, unless you are using particularly complex Flare files. Could you share a file and maybe an example of how you are displaying it?

Also, are you testing on a physical device? If so, make sure to try it in release mode as the loading is significantly faster with AOT compilation.

@pdefuns
Copy link
Author

pdefuns commented Jul 11, 2019

Thanks for the fast response (as usual 👍 ) #kudos

In release mode it's better, thanks.
Would it be possible to display the image from the design preview as long as the Flare is loaded?

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