philip-brink / DragAndDropLists

Flutter package for drag-and-drop reordering of two-level lists
BSD 3-Clause "New" or "Revised" License
253 stars 128 forks source link

Allow centering horizontally the item/list being dragged #19

Open kinex opened 3 years ago

kinex commented 3 years ago

There are properties itemDraggingWidth and listDraggingWidth for setting item/list width while dragging, but the item/list being dragged is always aligned to start. This is inconvenient as it prevents from seeing the current drop position on left from your finger (if a right handed person). Maybe better default would be to center the item/list being dragged, or allow specifying alignment in parameters (e.g. itemDraggingAlignment).