【发布时间】:2020-09-05 20:17:02
【问题描述】:
我尝试在颤振中创建可滚动行
但在尝试了多种方法后,我面临高度固定或列表不滚动的问题
发布我尝试过的代码之一。
期待一种我可以连续滚动并且不需要为小部件固定高度的方式。
new Column(
children: [
new Container(
height: 100.0,
child: ListView(
scrollDirection: Axis.horizontal,
children: <Widget>[
new Text("text 1"),
new Text("text 2"),
new Text("text 3"),
],
),
),
],
),
【问题讨论】: