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

Feature Request: Custom Header Location #184

Closed aljibbs closed 9 months ago

aljibbs commented 1 year ago

Is it possible to have the header on a different location. For example I will like to use the title of my app bar as the group header, in other words the title of my appbar should change to reflect the title of my group when the list scolls. The appbar's title should be able to detect the scroll position and change accordingly to reflect the title of the group.

Describe the solution you'd like The use case here is that, I have a horizontal listview and I'll like to position the group header on top of the listview instead of having it as part of the listview.

So I can have it like this.

Column(
   children: [
         Text('Group Title'),
         // Horizontal grouped listview
          ListView(),
    ]
)
Dimibe commented 9 months ago

Hi @aljibbs, This will be resolved with #82. But currently there is no timeline when this feature is implemented.