animatePoints method
Multipoint animation allow to interpolation "sewing" through all position in the Location Queue at once.
Implementation
void animatePoints({ILatLng last = const ILatLng.empty()}) {
if (description.isQueueNotEmpty) {
wrapper.locationCtrller.removeStatusListener(_statusListener);
var interpolator =
PolynomialLocationInterpolator(points: description.values);
var multiPoint = LocationTween(interpolator: interpolator);
_swappingPosition(last);
_isResseting = true;
wrapper.locationCtrller.addStatusListener(_statusListenerPoints);
_proxyAnim.parent = multiPoint.curvedAnimate(
curve: description.curve,
controller: wrapper.locationCtrller,
);
wrapper.locationCtrller.resetAndForward();
}
}