reduce expansionTile height in flutter

2,911

Solution 1

Make use of Configurable Expansion Tile from dart's dev site. Its really customizable and worked perfectly for me.

Solution 2

ListTileTheme(
  dense: true,
  child: ExpansionTile(..),
..

how about this?

Share:
2,911
Ahmed El Sayed
Author by

Ahmed El Sayed

Updated on December 02, 2022

Comments

  • Ahmed El Sayed
    Ahmed El Sayed over 1 year

    is there a way to reduce the height of the ExpansionTile header because it doesn't have a height property, after searching i found this on github for a custom color but i cannot modify it to add a height property besides it gives me errors say " drive is not defined for the class AnimationController"

  • omer
    omer over 3 years
    Hurrah! Worked for me.