onPanUpdate: (details) {

4
6

setState(() {

5
7

_dragAlignment += Alignment(

@@ -8,7 +10,9 @@

8
10

);

9
11

});

10
12

},

11

onPanEnd: (details) {},

13

+
              onPanEnd: (details) {

14

+
                _runAnimation();

15

+
              },

12
16

child: Align(

13
17

alignment: _dragAlignment,