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

newPageProgressIndicatorBuilder with animation rebuilds the entire list - but it's very laggy #217

Open
alexismoret opened this issue Aug 24, 2022 · 0 comments
Labels
bug Something isn't working

Comments

@alexismoret
Copy link

Hello,

I setted the animateTransitions to true to make the firstPage loading with a fade transition, but each time a new page is added, it's the entire list that is re-build, not only the widget I setted in the newPageProgressIndicatorBuilder, the problem is that adding new page is very slow and laggy with animations because it rebuild the entire list internally with sliverAnimatedSwitcher, but it's not laggy when animateTransitions is false

How can I set the animateTransitions only at firstPageProgressIndicatorBuilder but not at newPageProgressIndicatorBuilder ?

Is it normal that the entire list is animated only for add the newPageProgressIndicatorBuilder at the bottom of the list ?

Thanks !

@alexismoret alexismoret changed the title Animation rebuilds the entire list at every request newPageProgressIndicatorBuilder with animation rebuilds the entire list - but it's very laggy Aug 24, 2022
@clragon clragon added the bug Something isn't working label Feb 19, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants