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

ScrollablePositionedList: every item gets rebuilt when adding an entry at 0 #67

Open
imtoori opened this issue Feb 14, 2020 · 2 comments
Labels
p: scrollable_positioned_list Related to package:scrollable_positioned_list SPL-performance ScrollablePositonedList performance issues

Comments

@imtoori
Copy link

imtoori commented Feb 14, 2020

Every widget children widget gets rebuilt when adding a child at position 0.

If I try to add a child at the end of the list only the new widgets are built.

I tried to add a key, but it doesn't help.

@jamesderlin jamesderlin added the p: scrollable_positioned_list Related to package:scrollable_positioned_list label Apr 16, 2020
@tarobins tarobins added the SPL-performance ScrollablePositonedList performance issues label Apr 29, 2020
@tomalabaster
Copy link

Sounds like findChildIndexCallback needs to be implemented. https://api.flutter.dev/flutter/widgets/SliverChildBuilderDelegate/findChildIndexCallback.html

@marynovskyi
Copy link

Faced the same issue. Is there any updates?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
p: scrollable_positioned_list Related to package:scrollable_positioned_list SPL-performance ScrollablePositonedList performance issues
Projects
None yet
Development

No branches or pull requests

5 participants