Row(
crossAxisAlignment: CrossAxisAlignment.start,
mainAxisSize:MainAxisSize.min,
children:[
Expanded(
child:ListView(
scrollDirection: Axis.horizontal,
children:[
Text('12345 '),
Text('12345 '),
Text('12345 '),
Text('12345 '),
Text('12345 '),
]
),),
FlatButton(child:Text('button')),
]
),
只需将您的列表展开并按行对齐即可正确对齐。
本文收集自互联网,转载请注明来源。
如有侵权,请联系 [email protected] 删除。
我来说两句