animatePoints method
void
animatePoints(})
Implementation
void animatePoints(
List<ILatLng> list, {
ILatLng last = const ILatLng.empty(),
Curve curve = Curves.linear,
}) {
if (list.isNotEmpty) {
_locationCtrller.removeStatusListener(_statusListener);
var multiPoint = LocationTween(interpolator: PolynomialLocationInterpolator(points: list));
_swappingValue(last);
_isResseting = true;
_locationCtrller.addStatusListener(_statusListenerPoints);
_proxyAnim.parent = multiPoint.curvedAnimate(
curve: curve,
controller: _locationCtrller,
);
_locationCtrller.resetAndForward();
}
}