PolylineOptions constructor
PolylineOptions({
- required List<
LatLng> latLngList, - required double width,
- Color color = Colors.black,
- double zIndex = 0,
- bool isVisible = true,
- bool isDottedLine = false,
- bool isGeodesic = false,
- int dottedLineType = DOTTED_LINE_TYPE_SQUARE,
- int lineCapType = LINE_CAP_TYPE_BUTT,
- int lineJoinType = LINE_JOIN_BEVEL,
- bool isUseGradient = false,
- bool isUseTexture = false,
- 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 = ''});