PolylineOptions constructor

PolylineOptions({
  1. required List<LatLng> latLngList,
  2. required double width,
  3. Color color = Colors.black,
  4. double zIndex = 0,
  5. bool isVisible = true,
  6. bool isDottedLine = false,
  7. bool isGeodesic = false,
  8. int dottedLineType = DOTTED_LINE_TYPE_SQUARE,
  9. int lineCapType = LINE_CAP_TYPE_BUTT,
  10. int lineJoinType = LINE_JOIN_BEVEL,
  11. bool isUseGradient = false,
  12. bool isUseTexture = false,
  13. String customTexture = '',
})

Implementation

PolylineOptions({required this.latLngList, required this.width, this.color = Colors.black, this.zIndex = 0, this.isVisible = true, this.isDottedLine = false, this.isGeodesic = false, this.dottedLineType = DOTTED_LINE_TYPE_SQUARE, this.lineCapType = LINE_CAP_TYPE_BUTT, this.lineJoinType = LINE_JOIN_BEVEL, this.isUseGradient = false, this.isUseTexture = false, this.customTexture = ''});