WebPolylineShape constructor

WebPolylineShape(
  1. String id,
  2. WebPolyline element,
  3. WebPolyline? strokeElement, {
  4. required WebPolylineOption option,
  5. required WebPolylineOption? strokeOption,
  6. required PolylineStyle style,
})

Implementation

WebPolylineShape(this.id, this.element, this.strokeElement,
    {required this.option, required this.strokeOption, required this.style})
    : styleId = style.id!,
      currentLevel = style.zoomLevel;