huhuang03 / reorderable_grid_view

MIT License
46 stars 33 forks source link

How do I remove the shadow? #67

Closed eugenz3rr closed 1 year ago

eugenz3rr commented 1 year ago

Hi !

Problem

I'm using your implementation in my app and realy like your work! Is there a way to solve this? When I drag & drop my custom widgets. There is always an widget below mine that looks like a square and has it's own shadow.

Is there a way to hide this shadow and or make the widget transparent?

drag drop

huhuang03 commented 1 year ago

Hello, you can custom the drag widget like this:

image

      dragWidgetBuilderV2: DragWidgetBuilderV2(builder: (int index, Widget child, ImageProvider? screenshot) {
        return child;
      }),
eugenz3rr commented 1 year ago

Thanks a lot! Sometimes I'm just blind ...