verticalDragUpdate method

void verticalDragUpdate(
  1. DragUpdateDetails details
)

Function for onPanUpdate when the dragAxis is DragAxis.vertical.

Implementation

void verticalDragUpdate(DragUpdateDetails details) {
  setState(() {
    dragVertical += details.delta.dy;
    dragVertical %= 360;
    findSide();
  });
}