Dimibe / grouped_list

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

Interdependent items builder #175

Closed rafaelsetragni closed 10 months ago

rafaelsetragni commented 1 year ago

Due to difficulties implementing a chat app using the GroupedListView widget with the current itemBuilder and indexedItemBuilder methods, I added a new builder called interdependentItemBuilder to construct the items while bringing in the previous, current, and next elements on each step, resulting in better performance.

I also added:

Here is a print screen of the new Chat Example App:

Dimibe commented 10 months ago

Thank you for your contribution, lgtm!