+
                  setState(() {

+
                    _dragAlignment += Alignment(

+
                      details.delta.dx / (size.width / 2),

10

+
                      details.delta.dy / (size.height / 2),

11

+
                    );

12

+
                  });

13

+
                },

14

+
                onPanEnd: (details) {},

15

+
                child: Align(

16

+
                  alignment: _dragAlignment,

17

+
                  child: Card(

18

+
                    child: widget.child,