flutter_map_animations
flutter_map_animations copied to clipboard
AnimateTo same point w/ different offset doesn't work
I was trying to animate to the same point with different offsets when showing/closing a bottom sheet. This did not work due to the movementCallback being set to null after hitting this line that prevents duplicate destinations from being animated to:
final bool hasMovement = (dest != null && dest != mapController.camera.center) || (zoom != null && zoom != mapController.camera.zoom);
PR #38 has been submitted with a one line fix :)