stopAnimationRaw method

void stopAnimationRaw({
  1. bool canceled = true,
})

Stops all ongoing animations of the MapControllerImpl. This is commonly used by other gestures that should stop all ongoing movement.

Implementation

void stopAnimationRaw({bool canceled = true}) {
  if (isAnimating) _animationController.stop(canceled: canceled);
}