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
141 stars 27 forks source link

Not collapse #34

Closed Saulmarti closed 3 years ago

Saulmarti commented 3 years ago

Im usign the 1.0.0-nullsafety.1 version, the view of items and the sticky header is working fine but when change the param expanded in onTap with:

setState(() { sectionList[sectionIndex].setSectionExpanded(!section.isSectionExpanded()); }); Did not collapse the items.

I debug that the onTap and the changes its applied, when i set initially the expanded true or false its working propertly, the problem is when change it, not trigger nothing.

Anyone more have this problem?

tp7309 commented 3 years ago

Is example work property?