Expansion tile Expand and collapse

374 views
Skip to first unread message

rishabh singh

unread,
Jul 16, 2018, 6:07:22 AM7/16/18
to Flutter Dev
I have 4 expansion tiles and each of them has there ListTile as children and I want only one open at a time If the user click on 1st tile its expand and when the user clicks on 2nd expansion tile the 1st one should close? any idea?

Belokotov

unread,
Jul 16, 2018, 6:28:51 AM7/16/18
to Flutter Dev
List to be stafull with property wich panel is expanded. On an change state of his children update state of the parent last of the property with reference to the child

rishabh singh

unread,
Jul 16, 2018, 6:34:52 AM7/16/18
to Flutter Dev
didn't get the clear picture can you little bit explain?
Reply all
Reply to author
Forward
0 new messages