[英]Draggable and ReorderableListView in Flutter
In addition to reordering the elements, I want to be able to delete them when I drag them to the trash除了重新排序元素之外,我还希望能够在将它们拖到垃圾桶时删除它们
Flutter Draggable and ReorderableListView Flutter Draggable and ReorderableListView
I want to rearrange A, B, and C by drag and drop and delete them.我想通过拖放和删除它们来重新排列 A、B 和 C。
You can use Draggable Widget to this purpose.为此,您可以使用Draggable Widget。 When dragging completed remove the specific item from the list.
拖动完成后,从列表中删除特定项目。 Check below site for more details.
查看以下网站了解更多详情。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.