Closed Jamey-7 closed 6 months ago
Only tried 0.0.9, but is it the same issue? It works functionality wise, but it hides one image instead of moving it over to the empty slot.
Similar issues, if you colour the placeholder its clearer what's happening
Mine is moving the tiles around, but one of the tiles (the tile I moved) doesn't get updated with its replacement as the rest of the tiles are re-arranged until I drop the one I'm moving
Also using ^0.0.9 but I see exactly the same with ^0.08 down to ^0.06
Version 0.0.10 also has this problem, dragCompletion has no callback
flutter版本 3.19.1
This has been fixed in 0.0.11
This is my current setup that I had working on 0.0.8 but after I upgraded to .0.0.9 when I drag an item to a different position the other items do not move out of the way and allow me to place it. Have I implemented this wrong is that why it stopped working on version .0.0.9?
Here is a simplified version of my code with the DraggableGridViewBuilder to display a list of items:
For drag completion it is supposed to call this in my route_wells_model.dart to update the order but it never reaches this because drag completion is never called.
Here are my printouts on first load of the screen.
Then as soon as I hold an item and drag it around it just goes in a loop of this nonstop and no other items will move out of the way to allow me to drop the item in a different location so it never reaches drag completion.
Am I just doing this wrong i am not sure why the other items will not move in version .0.0.9