Open riccardocescon opened 1 year ago
you can delay the animation start. I think we have a parameter for that
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
@apgapg Is there any news on this pie with hero widget?
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