This package supports drag & drop widgets inside the GridView.builder for multiplatform. It provides all the properties which are available in Gridview. builder and easy to implement with the few lines of code.
Right now the only callback I see for when the grid changes is onDragAccept(List<DraggableGridItem> list). However, DraggableGridItem doesn't have any provisions for attaching a data payload, and it doesn't contain before or after indices, so it's not clear how we're expected to handle these grid changes.
Right now the only callback I see for when the grid changes is
onDragAccept(List<DraggableGridItem> list)
. However, DraggableGridItem doesn't have any provisions for attaching a data payload, and it doesn't contain before or after indices, so it's not clear how we're expected to handle these grid changes.