答案 0 :(得分:2)
请尝试以下摘录
CTFilterColumn
如果您要删除视图外侧的填充 将ExpantionTile瓦片填充设置为零
ExpansionTile(title: Row(children: [
// Icon View,
// SizedBox of desired width,
// Text View
]),
children: ... ,)
答案 1 :(得分:0)
尝试用title
包裹Alignment
,如下所示
title: Align(
child: Text(
"Your text over here"
),
//You may change value from -1.5 to anything which works better for you
alignment: Alignment(-1.5, 0),
),
dense: true,
)
答案 2 :(得分:-1)
ListTile(
title: Row(
children: <Widget>[
Icon(Icons.android),
Text("Title")
],),)