Questions tagged [expansion-tile]
17 questions
6
votes
5 answers
Close an ExpansionTile when another ExpansionTile is tapped
I have a list of ExpansionTile with a list of ListTile in a Drawer. What I want to achieve is, when I press an ExpansionTile, the another ExpansionTile must be collapsed. I had been stuck with this problem for two days and could not find an answer.…

Senthur Kumaran
- 1,135
- 1
- 7
- 18
2
votes
1 answer
list data API not showing in flutter
I want to display a list based on the ID selected by the user on the detail page but when I try to implement it the data doesn't appear on the detail page and only displays a circularprogressIndicator.
is there something wrong with what i'm doing…

Meikisihka
- 169
- 7
1
vote
3 answers
how get selected index of multiple ExpansionTile in flutter
how get selected index of multiple ExpansionTile in flutter ?
i need sidebar menu with multiple expansiontile and listtile.
how can i get selected index to change selected color menu with provider or bloc ?
children: [
…

sianami
- 979
- 1
- 3
- 11
1
vote
0 answers
type 'bool' is not a subtype of type 'double?' in type cast in ExpansionTile after removing one of the list Item flutter
I've been made a list of Card and ExpansionTile with a list view builder, because of saving last values in textformfields I've used key for ExpansionTile as a type of PageStorKey,
everything works good but after removing one of the item of list,…

Hamed Zahiri
- 29
- 5
1
vote
3 answers
Flutter: Material Widget And SingleChildScrollView Render Conflict Inside Drawer
This problem only happens inside Drawer
I wanted to shape the ripple effect of my ExpansionTile so I used the Material widget and it works, but when the tile expands, the background color of the tiles below ExpansionTile does not move with…

amir kazemzade
- 21
- 3
1
vote
3 answers
Flutter reduce space between widgets
I try to display a ExpansionTile with some text in it followed by an Image. Referring to the screenshot you can see that there is some space between both widgets. Does someone know how I can reduce this space?
class Test extends StatelessWidget {
…

Nick
- 71
- 11
1
vote
1 answer
children above title in ExpansionTile flutter
I need to place the title of expansion tile in the bottom on expanding
this is my code:
ExpansionTile(
title: Text('Colors'),
subtitle: Text('Expand this tile to see its contents'),
// Contents
children: [
…

E. Zahra
- 87
- 1
- 16
1
vote
1 answer
Remove the trailing ICON and the space assigned for Trailing ICON from the Expansion Tile
I am using a Expansion tile, but I do not want to have any trailing space occupied at the end of the widget. Event though i remove the trailing ICON with sized box, still the space for the ICON is occupied, I do not want the entire space for the…

Aravind
- 1,145
- 6
- 18
- 44
0
votes
0 answers
Customizing the clickable part of an ExpansionTile in Flutter
Hello I am pretty new to Flutter and I have read the documentation for ExpansionTile but seem to be running into some difficulties as I need to customize the clicking part of the expansion tile.
In my code I am trying to make an "option" button that…

Adam Lee
- 99
- 1
- 4
- 13
0
votes
0 answers
Flutter : how to remove leading,trailing spaces in ExpansionTileCard
In my android application I used flutter ExpansionTileCard to list a list of items with its child elements.My problem is the the leading and trailing area in ExpansionTileCard taking to much space and hence the title area get minimum area to display…

KJEjava48
- 1,967
- 7
- 40
- 69
0
votes
1 answer
Flutter: How to reduce default height of Expansion Tile in Flutter
I have an expansion tile in my app. I want to reduce the default height of this widget. I have used different solutions available but none works as expected. Below is my code snippet.
child: Padding(
padding:…

paras
- 109
- 3
- 7
0
votes
0 answers
ExpansionTile children will refreshing after click TextField - Flutter
child: Column(
children: [
ExpansionTile(
title: Text("Task Overview",
style:
TextStyle(fontWeight:…

Edward
- 89
- 1
- 6
0
votes
1 answer
Can someone show me what i am missing in my code? I am trying to display sub-category as a dropdown in category screen in flutter using extension tile
can someone help me figure out what i'm doing wrong? I have a category screen and I have a list-view of all my parent categories on the left and my main categories filling the remaining space as a drop-down widget to display the sub-categories but…

Henrique Crusoe
- 1
- 3
0
votes
0 answers
Move StreamBuilder List item to the top if ExpansionTile is open
I am working with the plugin FLutter Blue, and I have a StreamBuilder with a list of devices found after the scan process. Every element of the list can be expanded (ExpansionTile).
I noticed that the scanning, even if I remove the timeout parameter…

TheOldBlackbeard
- 395
- 4
- 22
0
votes
1 answer
(Inside ListView.builder) Every time I press the ExpansionTile, the trailing icon of the ExpansionTile changes also on other ExpansionTiles
I have ListView.builder which returns ExpansionTile. Inside of this ExpansionTile, I used trailing with row widget. When I use row inside of the trailing, I lost the animation effect, therefore I used AnimatedRotation widget. But now every other…

doclock4715
- 73
- 3