我试图在视图中创建一个可滚动的文本:
// other widgets,
SingleChildScrollView(
child: Container(
height: 200,
child: Text(
"Long text here which is longer than the container height"))),
// other widgets
文本比其父容器的高度长,但由于某些原因,文本不能滚动,尽管它被包装在SingleChildScrollView
内.知道我做错了什么吗?