Polyline static method
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,
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,
);
}