LineLayer constructor

LineLayer(
  1. {required dynamic id,
  2. dynamic visibility,
  3. dynamic minZoom,
  4. dynamic maxZoom,
  5. dynamic slot,
  6. required String sourceId,
  7. String? sourceLayer,
  8. LineCap? lineCap,
  9. LineJoin? lineJoin,
  10. double? lineMiterLimit,
  11. double? lineRoundLimit,
  12. double? lineSortKey,
  13. double? lineBlur,
  14. int? lineBorderColor,
  15. double? lineBorderWidth,
  16. int? lineColor,
  17. List<double?>? lineDasharray,
  18. double? lineDepthOcclusionFactor,
  19. double? lineEmissiveStrength,
  20. double? lineGapWidth,
  21. int? lineGradient,
  22. double? lineOffset,
  23. double? lineOpacity,
  24. String? linePattern,
  25. List<double?>? lineTranslate,
  26. LineTranslateAnchor? lineTranslateAnchor,
  27. List<double?>? lineTrimOffset,
  28. double? lineWidth}
)

Implementation

LineLayer({
  required id,
  visibility,
  minZoom,
  maxZoom,
  slot,
  required this.sourceId,
  this.sourceLayer,
  this.lineCap,
  this.lineJoin,
  this.lineMiterLimit,
  this.lineRoundLimit,
  this.lineSortKey,
  this.lineBlur,
  this.lineBorderColor,
  this.lineBorderWidth,
  this.lineColor,
  this.lineDasharray,
  this.lineDepthOcclusionFactor,
  this.lineEmissiveStrength,
  this.lineGapWidth,
  this.lineGradient,
  this.lineOffset,
  this.lineOpacity,
  this.linePattern,
  this.lineTranslate,
  this.lineTranslateAnchor,
  this.lineTrimOffset,
  this.lineWidth,
}) : super(
          id: id,
          visibility: visibility,
          maxZoom: maxZoom,
          minZoom: minZoom,
          slot: slot);