closeFlingAnimationController method
Implementation
void closeFlingAnimationController(MapEventSource source) {
_flingAnimationStarted = false;
if (_flingController.isAnimating) {
_flingController.stop();
_stopListeningForAnimationInterruptions();
mapState.emitMapEvent(
MapEventFlingAnimationEnd(
center: mapState.center, zoom: mapState.zoom, source: source),
);
}
}