修改 Flutter ScrollView 中的滚动行为
我在 singleChildScrollView
中遇到问题。下面是我的代码:
return Scaffold(
body:SingleChildScrollView(
child:
Column(
children:[
//...
Container(height:500,child:listview.builder())
],
//...
)),
);
我想要的是当 listview.builder
的项目结束时,继续滚动 singleChildScrollView
内的 Column 的子项。或者,我什至无法删除 container
(listview.builder
的父级),它会导致渲染错误。如果问题不清楚,请问我。我会解释一下。请帮忙:(。
I have a problem in singleChildScrollView
. Below is my code:
return Scaffold(
body:SingleChildScrollView(
child:
Column(
children:[
//...
Container(height:500,child:listview.builder())
],
//...
)),
);
What I want is to keep on scrolling the children of Column inside the singleChildScrollView
when the items of listview.builder
are ended. Alternatively, I cant even remove the container
(the parent of listview.builder
) it causes rendering error. If the question in not clear, please ask me. I'll explain. Kindly help :(.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论