【发布时间】:2019-08-26 04:38:50
【问题描述】:
我正在尝试在视图中创建可滚动的文本:
// other widgets,
SingleChildScrollView(
child: Container(
height: 200,
child: Text(
"Long text here which is longer than the container height"))),
// other widgets
文本比其父容器的高度长,但由于某种原因,尽管它被包裹在SingleChildScrollView 中,但文本不可滚动。知道我做错了什么吗?
【问题讨论】:
标签: dart flutter flutter-layout