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

package is rebuilding all the widgets after first one that gets the different data #8

Open
panksi opened this issue Feb 28, 2024 · 0 comments

Comments

@panksi
Copy link

panksi commented Feb 28, 2024

I have a list that I get from the server,
It is stored in provider.
I assigned the IDs as keys for itembuilder child widgets.
when I update the list from the server it just overwrites the list in provider, no add to or remove from the list is being done.
The automatic animated list updates the widgets as it should but!
the first item that is being removed from the list first fires didUpdateWiget and then initState again.
this happens for each item after the first one that is behind the first removed item.
image
930 is the one being removed. 933 is first in the list.

When I try with the first item in the list which is before the one that's being removed, the init state is not firing.
Do you know maybe what can be the issue? where can I lookup?

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

1 participant