Serge Middendorf
ยทFlutterFlow Guru and Moderator, Head of Dev @Middnight

I need your advice on how to shift a drag-and-drop item by an offset

Widgets & Design

I have a draggable which is basically a box. the box has different sizes depending on what type of draggable it is (its different game blocks). Now if I am dragging them I have the draggable "under my fingers". But if its a small draggable my fingers would cover it so I wont see it ๐Ÿ˜‚ A television classic situation:

Any idea how to "only visually" shift the dragged item by an amount of pixels? Like an offset to an axis or something only while being dragged? And ideally also with a FlutterFlow workaround cause my game logic is already fine^^ Thanks alllll for ideas ๐Ÿ˜„

What have you tried so far?

I tried padding and boxes of heights but...to no success

Did you check FlutterFlow's Documentation for this topic?
Yes
2
5 replies