Dimibe / grouped_list

A Flutter ListView in which items can be grouped into sections.
https://pub.dev/packages/grouped_list
MIT License
411 stars 107 forks source link

fix: items should not reset every rebuild #132

Closed jamesblasco closed 2 years ago

jamesblasco commented 2 years ago

Right now every time the widget is rebuilt, a new GlobalKey is created for each item resetting any state that the widget could have inside.

This keeps the same GlobalKeys between rebuilds

Dimibe commented 2 years ago

Hello @jamesblasco, thanks for your contribution. I will look into it.