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

Sticky header is not working after changing navigation tab #51

Closed Gazizbek closed 10 months ago

Gazizbek commented 11 months ago

At the first launch, everything works perfectly. After changing the navigation tab, it stops working

Flutter 3.16.0 sticky_and_expandable_list: ^1.1.3

https://github.com/tp7309/flutter_sticky_and_expandable_list/assets/43266026/45348ae5-3e77-4340-be49-2e6741aaf627

tp7309 commented 11 months ago

try trigger force refresh when navigation tab changed. for example:

  1. change sectionList.
  2. call setState() for trigger layout.