简体   繁体   中英

Is it possible to drag ReorderableListView items to another ReorderableListView?

I'm trying to drag an item from one ReorderableListView into another ReorderableListView.

It seems it is only possible by using a regular ListView with Dragable and DragTarget widgets and without the look and feel of a ReorderableListView.

Am I right or is there a way?

This is a bit delayed but I'm leaving this answer for anyone else that landed here after searching:

Consider using this flutter package: https://pub.dev/packages/drag_and_drop_lists

正在重新排序的项目和列表的 gif

Features

  • Reorder elements between multiple lists
  • Reorder lists
  • Drag and drop new elements from outside of the lists
  • Vertical or horizontal layout
  • Use with drag handles, long presses, or short presses
  • Expandable lists
  • Can be used in slivers
  • Prevent individual lists/elements from being able to be dragged
  • Easy to extend with custom layouts

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM