setAnimatedPolyline method

Future<void> setAnimatedPolyline(
  1. bool animated,
  2. bool repeating,
  3. int durationMs
)

Enable/Disable the polyline animation when displaying a route element on the map

Implementation

Future<void> setAnimatedPolyline(
        bool animated, bool repeating, int durationMs) =>
    DirectionsRendererPlatform.instance
        .setAnimatedPolyline(animated, repeating, durationMs);