Questions tagged [expansion-tile]

17 questions
0
votes
1 answer

how to close ExpansionTileCard when clicking on another card

I have a ListView with ExpansionTileCard. Everything is displayed normally, but there is a problem, when I click on the ExpansionTileCard widget, additional information opens, and when I click on another card, the previous one does not close. I want…
0
votes
1 answer

Trying to build Listview but I can't add any method to the Expansion tile

I have the following code to build a listview from local JSON file and it works perfectly fine. However, when I try to add a method such as onTap: (){} to the ExpansionTile in the _buildList Widget I got the following error Error: No named…
1
2