tp7309 / flutter_sticky_and_expandable_list

粘性头部与分组列表Sliver实现 Build a grouped list, which support expand/collapse section and sticky headers, support use it with sliver widget.
MIT License
140 stars 29 forks source link

Add reverse support for ExpandableListView. #13

Closed OverSwift closed 4 years ago

OverSwift commented 4 years ago

This will make headers work properly when reverse is true

tp7309 commented 4 years ago

Thank you for your submission, I will merge this pull request and my local new features at this weekend.

tp7309 commented 4 years ago

Unfortunately this is not the desired behavior, right way.

OverSwift commented 4 years ago

@tp7309 oh i see this is like 2 different behaviours. For my app i need an behaviour what i have done, this is for chat when headers at top ,dates in my case, but content goes from bottom of the list. In proposed desired behaviour all goes from bottom. As i think this lib can support both for different purposes. Would be ok to leave reverse property for list content and add new one like reverseHeaders just for headers handle it on layout?

tp7309 commented 4 years ago

Good idea.