Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

first item visibility change also changes the first group item to second one #161

Open
Handelika opened this issue Aug 5, 2022 · 0 comments
Assignees
Labels
bug Something isn't working

Comments

@Handelika
Copy link

Handelika commented Aug 5, 2022

I have two lists using StickyGroupedListView. when i click the the group item to change the children of group's visibility, group item name turned to the second one's name.


StickyGroupedListView<StateModel, int>(
          shrinkWrap: true,
          elements: list,
          physics: NeverScrollableScrollPhysics(),
          groupBy: (Model element) => element.headerId!,
          groupSeparatorBuilder: (Model element) => buildHeader(element),
          itemBuilder: (context, Model element) =>  element.isChecked ? buildItems(context, element) : Container() ,
          elementIdentifier: (element) => element.getId, // optional - see below for usage
          scrollDirection: Axis.vertical,
          itemScrollController: scrollListController,// optional
        )
@Handelika Handelika added the bug Something isn't working label Aug 5, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants