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
I want to rearrange A, B, and C by drag and drop and delete them.
You can use Draggable Widget to this purpose. When dragging completed remove the specific item from the list. Check below site for more details.
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.