onDragUpdate method
Implementation
@override
void onDragUpdate(DragUpdateDetails e) {
if (!hasRoute) {
if (!userGestureEnabled) return;
if (!canAnimate(e)) return;
showRoute();
if (!userGestureInProgress) startUserGesture();
} else {
if (!userGestureInProgress) {
if (!userGestureEnabled) return;
startUserGesture();
}
super.onDragUpdate(e);
}
}