setPolyLineColors method

Future<void> setPolyLineColors(
  1. Color foreground,
  2. Color background
)

Set the colors of the polyline

Implementation

Future<void> setPolyLineColors(Color foreground, Color background) =>
    DirectionsRendererPlatform.instance
        .setPolyLineColors(foreground, background);