Polyline static method

Polyline Polyline(
  1. dynamic latlngs, {
  2. bool stroke = strokeDef,
  3. Color? strokeColor,
  4. double strokeWidth = strokeWidthDef,
  5. double strokeOpacity = strokeOpacityDef,
  6. StrokeCap strokeCap = strokeCapDef,
  7. StrokeJoin strokeJoin = strokeJoinDef,
  8. PathFillType pathFillType = pathFillTypeDef,
  9. List<Color> gradientStrokeColors = gradientColorsDef,
  10. List<double> gradientStrokeStops = gradientStopsDef,
  11. bool isDotted = isDottedDef,
  12. dynamic data,
})

Implementation

static L.Polyline Polyline(
  dynamic latlngs, {
  bool stroke = strokeDef,
  Color? strokeColor,
  double strokeWidth = strokeWidthDef,
  double strokeOpacity = strokeOpacityDef,
  StrokeCap strokeCap = strokeCapDef,
  StrokeJoin strokeJoin = strokeJoinDef,
  PathFillType pathFillType = pathFillTypeDef,
  List<Color> gradientStrokeColors = gradientColorsDef,
  List<double> gradientStrokeStops = gradientStopsDef,
  bool isDotted = isDottedDef,
  dynamic data,
}) {
  return L.Polyline.from(
    latlngs,
    strokeColor: strokeColor,
    strokeWidth: strokeWidth,
    strokeOpacity: strokeOpacity,
    strokeCap: strokeCap,
    strokeJoin: strokeJoin,
    pathFillType: pathFillType,
    gradientStrokeColors: gradientStrokeColors,
    gradientStrokeStops: gradientStrokeStops,
    isDotted: isDotted,
    data: data,
  );
}