代码。
Row(
mainAxisAlignment: MainAxisAlignment.start,
children: <Widget>[
Column(
children: <Widget>[
Text(
model.mp3Files[index].artist,
style: Theme.of(context).textTheme.subtitle1,
),
SizedBox(height: 8.0,),
Text(
model.mp3Files[index].album,
style: Theme.of(context).textTheme.subtitle1,
),
],
),
],
)
如何将第一个文本放置在左边?
在你的 Column
Column(
crossAxisAlignment: CrossAxisAlignment.start, // add this
children: [...],
)