LineRendererConfig<D> constructor

LineRendererConfig<D>({
  1. String? customRendererId,
  2. double radiusPx = 3.5,
  3. bool stacked = false,
  4. double strokeWidthPx = 2.0,
  5. List<int>? dashPattern,
  6. bool includeLine = true,
  7. bool includePoints = false,
  8. bool includeArea = false,
  9. int layoutPaintOrder = LayoutViewPaintOrder.line,
  10. double areaOpacity = 0.1,
  11. bool roundEndCaps = false,
  12. SymbolRenderer? symbolRenderer,
})

Implementation

LineRendererConfig(
    {this.customRendererId,
    this.radiusPx = 3.5,
    this.stacked = false,
    this.strokeWidthPx = 2.0,
    this.dashPattern,
    this.includeLine = true,
    this.includePoints = false,
    this.includeArea = false,
    this.layoutPaintOrder = LayoutViewPaintOrder.line,
    this.areaOpacity = 0.1,
    this.roundEndCaps = false,
    SymbolRenderer? symbolRenderer})
    : symbolRenderer = symbolRenderer ?? LineSymbolRenderer();