我正在尝试在 ListTile 尾随中添加列,但它给了我渲染流错误,而且它与它的标题不对齐。
这是我的代码
SizedBox(
height: MediaQuery.of(context).size.height * 0.55,
child: ListTile(
title: Padding(
padding: const EdgeInsets.only(left: 5),
child: Column(
crossAxisAlignment: CrossAxisAlignment.start,
children: [
Text("Date"),
SizedBox20(),
Text("Token no"),
SizedBox20(),
Text("Token Issuance Date"),
SizedBox20(),
Text("Token Issuance Time"),
SizedBox20(),
Text("Calling Place"),
SizedBox20(),
Text("Total Fee"),
SizedBox20(),
Text("Advance"),
SizedBox20(),
Text("Remaining"),
SizedBox20(),
Text("Status"),
SizedBox20(),
],
),
),
trailing: Column(
crossAxisAlignment: CrossAxisAlignment.end,
children: [
Text("5/11/2021"),
SizedBox20(),
Text("36"),
SizedBox20(),
Text("2/11/2021"),
SizedBox20(),
Text("12:15:00 PM"),
SizedBox20(),
Text("Desk 07"),
SizedBox20(),
Text("PKR. 1,000/-"),
SizedBox20(),
Text("PKR. 200/-"),
SizedBox20(),
Text("PKR. 800/-"),
SizedBox40(),
Text("Unattended"),
// SizedBox20(),
],
),
),
),
我希望它像title
Date和trailing
5/11/2021应该排成一行,并且对所有人都一样。
它应该看起来像
这是我的代码输出
请帮助如何解决它。