How we can remove space between leading and title in Flutter ExpansionTile?

Please try below snipppet
ExpansionTile(title: Row(children: [
// Icon View,
// SizedBox of desired width,
// Text View
]),
children: ... ,)
If you want to remove padding out side your view Set ExpantionTile tile padding to zero
ExpansionTile(tilePadding: EdgeInsets.zero,
title: Row(children: [
// Icon View,
// SizedBox of desired width,
// Text View
]),
children: ... ,)
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With