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.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Sticky header is not working after changing navigation tab

Gazizbek opened this issue · comments

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

Simulator.Screen.Recording.-.iPhone.15.Pro.Max.-.2023-11-28.at.19.26.32.mp4

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

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