Polyline constructor

Polyline(
  1. {required List<LatLng> points,
  2. double strokeWidth = 1.0,
  3. Color color = const Color(0xFF00FF00),
  4. double borderStrokeWidth = 0.0,
  5. Color? borderColor = const Color(0xFFFFFF00),
  6. List<Color>? gradientColors,
  7. List<double>? colorsStop,
  8. bool isDotted = 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,
});