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

Automatic Repaint on Hero #92

Open
riccardocescon opened this issue Dec 17, 2022 · 3 comments
Open

Automatic Repaint on Hero #92

riccardocescon opened this issue Dec 17, 2022 · 3 comments

Comments

@riccardocescon
Copy link

I wrapped the PieChart with a Hero widget in order to animate that between two pages.
When a switch to the second page the PieChart gets repainted.
I think the widget is painting as soon as the page loads, and the hero widget overrides that animation, and then you obtain that weird laggy effect

@apgapg
Copy link
Owner

apgapg commented Dec 19, 2022

you can delay the animation start. I think we have a parameter for that

@riccardocescon
Copy link
Author

PieChart widget has only the animationDuration parameter for handling the 'animation'.
I tried setting some values, but even with 8 seconds you can still see that repaint happening.
I event tried to wrap with RepaintBoundary but still happens

@riccardocescon
Copy link
Author

@apgapg Is there any news on this pie with hero widget?

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