Polyline constructor
Polyline({
- required List<
LatLng> points, - double strokeWidth = 1.0,
- Color color = const Color(0xFF00FF00),
- double borderStrokeWidth = 0.0,
- Color? borderColor = const Color(0xFFFFFF00),
- List<
Color> ? gradientColors, - List<
double> ? colorsStop, - bool isDotted = false,
- StrokeCap strokeCap = StrokeCap.round,
- StrokeJoin strokeJoin = StrokeJoin.round,
- bool useStrokeWidthInMeter = false,
Implementation
Polyline({
required this.points,
this.strokeWidth = 1.0,
this.color = const Color(0xFF00FF00),
this.borderStrokeWidth = 0.0,
this.borderColor = const Color(0xFFFFFF00),
this.gradientColors,
this.colorsStop,
this.isDotted = false,
this.strokeCap = StrokeCap.round,
this.strokeJoin = StrokeJoin.round,
this.useStrokeWidthInMeter = false,
});