Mindinventory / flutter_draggable_gridview

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.

Home Page:https://www.mindinventory.com/flutter-app-development.php

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

How are you supposed to track grid changes?

lukepighetti opened this issue · comments

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.