karvulf / flutter-reorderable-grid-view

BSD 3-Clause "New" or "Revised" License
155 stars 22 forks source link

drag and drop between two grids? #92

Open behrangnm opened 1 year ago

behrangnm commented 1 year ago

Thanks for the great library. I want drag and drop between two grids as well the inside each grid. How would I accomplish that?

karvulf commented 1 year ago

Hello @behrangnm Currently I don't think it works between two GridViews. This is something I could think of developing in the future but currently it won't be available.

behrangnm commented 1 year ago

I see. It would be great to have it. I guess for now I can figure out how to move things between multiple grids in a different way but direct drag and drop would be a much nice user experience

karvulf commented 1 year ago

Definitely 👍 @behrangnm

isenbj commented 4 months ago

Any progress on how this may be done?

karvulf commented 4 months ago

Hello @isenbj Currently not, this feature is not that easy to implement and could consume a lot of time which I don’t have currently, I am sorry for that :/

isenbj commented 4 months ago

That makes sense. Is there a way to allow items from one grid to be dragged on top of another grid then without the reordering? This way a new item could be just be recieved by the new grid, and we could handle the logic around rebuilding it in our own implementation. I figured I could just wrap the grid in a DragTarget but it doesn't recieve the draggable it seems.

karvulf commented 4 months ago

Hmm it sounds possible, but didn't try it. Can you show me the example code you used to try that? @isenbj