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
A couple of interesting findings #4
Comments
Literally life saving |
@sroddy Awesome stuff! Would you be interested in exploring reworking this one or creating a separate lib that devs can use to easily take advantage of these findings? I'd be happy to collaborate and offer review although I'll need to ramp up to things like instantiating a new Flutter Engine, never delved into that. |
I'm following the updates on this package very closely as it seems to be the only option to fix the Metal jank problem, at least until the Flutter team finds a solution. These findings are awesome, I'd really like to help implementing things if I could, but I don't have the experience to work with the engine..I really hope you guys and other collaborators will take interest in making this package even more powerful, it's really the only hope for now it seems |
this discovery with the new feature for Multiple Flutter Engines practically without cost (https://flutter.dev/docs/development/add-to-app/multiple-flutters) is the perfect combination. We can have an Engine always alive only for warmup animations, so we can trigger there a flow that warmup all the animations without modifying any of our real views |
That sounds great! Do you have any examples where you warmup an animation you could share? I'm sure the community would really appreciate it. |
I'm sorry to sound like a noob here but can anyone please explain how one uses the code in the main response? Thank you, |
I second this. The example code above gives no context about where to put it at all. An example in context (i.e which app-code file /lifecycle event), with the navigator push/pop warm-up would be most appreciated if anyone has one they could share please. Thank you. |
Hi,
thank you for the amazing preliminary work in tackling this issue with this workaround.
I have a couple of hints to share with you regarding the best approach to perform the warmup routine as fast and efficiently as possible:
The text was updated successfully, but these errors were encountered: