horizontalDragUpdate method
Function for onPanUpdate when the dragAxis
is DragAxis.horizontal.
Implementation
void horizontalDragUpdate(DragUpdateDetails details) {
setState(() {
dragHorizontal -= details.delta.dx;
dragHorizontal %= 360;
findSide();
});
}