问题描述
我需要将可重新排序的列表放在SingleChildScrollView内,但是ReorderableListView()没有像ListView()那样的收缩包装.是否有解决方法可以在不使用过时的未维护软件包的情况下完成此布局?虽然,我还没有测试那些可用的过时软件包,但我不知道它们是否使用不同的小部件构建,或者它们是否仅基于ReorderableListView()构建,否则错误将继续存在.
,您可以将 ReorderableListView 和 Expanded 小部件包装在列中./p>
I need to put my reorderable list inside SingleChildScrollView, but the ReorderableListView() doesn't have shrink wrap like ListView(). Is there a work around to accomplish this layout without using an outdated unmaintained package? Although, I haven't tested those available outdated packages yet I don't know if they're built using different widgets or they're just building upon ReorderableListView() if so the error will persist.
you can wrap your ReorderableListView with Expanded Widget in Column.
这篇关于SingleChildScrollView/Column内的ReorderableListView的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!