-
Notifications
You must be signed in to change notification settings - Fork 477
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
cachedActor example is no longer working #224
Comments
Hi @tsinis thanks for the support! Is there some case in particular that's failing for you? |
Hey @umberto-sonnino Thanks for your reply! Sadly, your basic example does not using cachedActor function. I'm talking about that specific case mentoed by @luigi-rosso. Function does not takes two arguments, but only one "AssetProvider" (since flare_flutter v2+), but there is no much documentation to that. How can we cache our animations on app launch, before first runApp() run? |
Hi @umberto-sonnino! I'm closing Issue, since I have figured out how to do it.
New way, since package version 2.0+
Please update documentation. Thanks in advance and see you in Warsaw on Friday! |
Updated example accordingly to 2d-inc#224. Thank you @tsinis for coming up with the solution.
Hello!
Dear Rive Team, first and foremost, thank you very much for this amazing tool, it is unprecedented. There is an issue with cachedActor function, it's not working anymore in flare_flutter 2.0.1, like in your example code:
https://github.com/2d-inc/developer_quest/blob/8a7ef09687309c4f48ef040c091fbb44e7b1b909/lib/src/widgets/flare/warmup_flare.dart#L30
Could you please provide updated example of animation caching? Thank you, one more time!
The text was updated successfully, but these errors were encountered: