Dimibe / grouped_list

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

Get Number of elements in groups #131

Open mateusconrad opened 2 years ago

mateusconrad commented 2 years ago

Hi, is it possible to get the number of elements in a group that GroupedListView() generates after the group by? I have an implementation where i need to list multiple categories in a listviewbuilder inside the GroupedListView. Just like this: image

If is it possible to get the number, or if anyone knows a way, please let me know!

Example of my screen with the itemCount set to 2: image

Also, a need to make this photos all in one row for each group, but i am stuck beacuse it seems to generate a row for every member

ScottishRoss commented 7 months ago

I was just trying to implement this. Would love this feature!