【发布时间】:2022-01-25 11:56:36
【问题描述】:
我有这个List view.builder
child: ListView.builder(
itemCount: coins.length,
itemBuilder: (BuildContext context, int index) {
return ListTile(
leading: iconsList[index],
title: Wrap(children: [
Row(children: [
Text(
coins[index],
style: const TextStyle(color: Colors.white),
),
Text(
value[index],
style: TextStyle(color: Colors.white),
),
]),
]),
subtitle: Align(
alignment: Alignment.bottomRight,
child: Text(
value[index],
style: TextStyle(color: Colors.white),
),
),
);
}),
在手机屏幕上显示是这样的:
我想将欧元金额放在硬币零钱上方的右上方,如下所示:
我应该如何将金额以欧元为单位,以便它看起来像我展示的示例图像?
【问题讨论】: