如何在Flutter中重新定位分组列表中的项目和重新定位分组?

huangapple go评论63阅读模式
英文:

How to Reposition items inside Grouped list and Reposition Group in flutter?

问题

需要通过拖放来重新定位分组列表中的项目,同时还需要通过拖放来重新定位Flutter中的分组。

英文:

Need to Reposition item inside grouped list by drag and drop and also need to Reposition group by drag and drop in flutter

答案1

得分: 1

看起来你正在寻找ReorderableListView小部件。

我认为如果你想重新排列项目和分组,你可以使用ReorderableListView作为另一个ReorderableListView的ListItem。

英文:

It looks like you're looking for the ReorderableListView widget.

I believe if you want to reorder items and groups, you could do this using a ReorderableListView as the ListItem for another ReorderableListView.

huangapple
  • 本文由 发表于 2023年4月6日 19:08:28
  • 转载请务必保留本文链接:https://go.coder-hub.com/75948821.html
匿名

发表评论

匿名网友

:?: :razz: :sad: :evil: :!: :smile: :oops: :grin: :eek: :shock: :???: :cool: :lol: :mad: :twisted: :roll: :wink: :idea: :arrow: :neutral: :cry: :mrgreen:

确定