onMarkerAnimationListener property

(dynamic Function(Marker)?) onMarkerAnimationListener
final

Callback called when animation is in progress: Given P1,P2 locations, when the animation is in progress betweeen Point P1 and P2, this listener will be called to give latest value

So if want to make smooth animation from location P1 and P2 like this link onMarkerAnimationListener will suit you.

Implementation

final Function(Marker)? onMarkerAnimationListener;