DragableGridview icon indicating copy to clipboard operation
DragableGridview copied to clipboard

Question - Is there a way to show a placeholder to add an item after deleting an Item?

Open dinbtechit opened this issue 6 years ago • 8 comments

Question - Is there a way to show a placeholder to add an item after deleting an Item?

Any help is much appreciated.

For example: (for a Grid size of 3 x 3)

Step 1 - Delete Position - 7

image

Step 2 - Item at position 8 swaps to position 7 (Already works that way)

image

Step 3 - Item 8 now shows a placeholder to add new items.

image

dinbtechit avatar Jul 09 '19 18:07 dinbtechit

Can not add a new item at last index?

gzlock avatar Oct 13 '19 17:10 gzlock

Can not add a new item at last index?

Yeah I tried doing that. Problem is, user can move around the placeholder. Is there by any chance can we lock a tile?

dinbtechit avatar Oct 13 '19 17:10 dinbtechit

Can not add a new item at last index?

Yeah I tried doing that. Problem is, user can move around the placeholder. Is there by any chance can we lock a tile?

ezgif-1-0878d1997887

I spent a few days to develop a widget that meet your requirements.

Each children is draggable, fixable and deletable.

There may be some minor issues, but I will maintain this project.

Hope you will like it.

https://pub.dev/packages/draggable_container

https://github.com/gzlock/flutter_draggable_container

gzlock avatar Oct 18 '19 12:10 gzlock

This looks freaking awesome! great job. I'll try it out and let you know.

dinbtechit avatar Oct 18 '19 13:10 dinbtechit

This looks freaking awesome! great job. I'll try it out and let you know.

Hope you can talk with me in the telegram https://t.me/gzlock

gzlock avatar Oct 18 '19 13:10 gzlock

This looks freaking awesome! great job. I'll try it out and let you know.

Hope you can talk with me in the telegram https://t.me/gzlock

sure will do.

dinbtechit avatar Oct 18 '19 13:10 dinbtechit

This looks freaking awesome! great job. I'll try it out and let you know.

Hope you can talk with me in the telegram https://t.me/gzlock

sure will do.

I want to discuss with you how to add a new item.I don't know how to do that when items include the fixed item.

gzlock avatar Oct 18 '19 16:10 gzlock

This looks freaking awesome! great job. I'll try it out and let you know.

Hope you can talk with me in the telegram https://t.me/gzlock

sure will do.

I want to discuss with you how to add a new item.I don't know how to do that when items include the fixed item.

Sure we can discuss that. I also found few bugs. I'll contact you on telegram.

dinbtechit avatar Oct 18 '19 16:10 dinbtechit