onStopover property

OnStopover? onStopover
final

Callback called when final state of the animation is reach: Given P1,P2 locations, when the animation reach the P2 point the callback is called making a stop (t = 1.0).

So, if you want to change the Google Maps's Camera o something else when current animation ends onStopover will suit you.

Implementation

final OnStopover? onStopover;