【发布时间】:2020-04-17 08:07:28
【问题描述】:
我有一个带有容器 + listView 的页面。现在 listView 是可滚动的,但我希望整个页面都是可滚动的。 (所以如果用户滚动,容器就会“离开”)
Column(
children: <Widget>[
Container(
color: Colors.white.withOpacity(0.95),
width: 400,
height: 400,
child: Text("")),
ListView(
children: posts,
),
],
),
这可能吗,如何实现?
谢谢!
【问题讨论】:
-
你为什么不使用
PageView