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

ListView Expanding All Child Items #128

Open
Kranthi94 opened this issue May 13, 2024 · 1 comment
Open

ListView Expanding All Child Items #128

Kranthi94 opened this issue May 13, 2024 · 1 comment

Comments

@Kranthi94
Copy link

Hi,

I integrated expandable with a list view. Below is the widget tree.

ExpandableNotifier
---> ListView
---> ListViewItem
---> ScrollOnExpand
---> ExpandablePanel (expandableController)

Issue is that when we are expanding one of the items in the list is expanding all the items in the list.

@fxgonzalez5
Copy link

You are using a single controller for all elements, you must create a controller for each one. The fastest option is to use a Builder and inside it create a controller for each element.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants