DavideBelsole / great_list_view

pub.dev library for flutter
MIT License
41 stars 22 forks source link

Feature request: headers #14

Closed fkulik closed 2 years ago

fkulik commented 2 years ago

Hi, it would be cool to have possibility of adding header to the list which wouldn't be taken into consideration while list is dispatching its animations (it would keep its position on the top no matter what is happenning with the rest of the data)

DavideBelsole commented 2 years ago

Just use a CustomScrollView with a SliverList (your header) and an AnimatedSliverList (see ReadMe).

mregnauld commented 2 years ago

Agree with @fkulik : just adding two attributes, header and footer, for the AutomaticAnimatedListView would be very helpful, and much easier to implement. Those attributes could be of type Widget.

Thanks.