TreeMapRendererConfig<D> constructor

TreeMapRendererConfig<D>({
  1. String? customRendererId,
  2. double patternStrokeWidthPx = 1.0,
  3. double strokeWidthPx = 1.0,
  4. int layoutPaintOrder = LayoutViewPaintOrder.treeMap,
  5. ViewMargin rectPaddingPx = _defaultRectPadding,
  6. TreeMapTileType tileType = TreeMapTileType.squarified,
  7. TreeMapLabelDecorator<D>? labelDecorator,
  8. Color? strokeColor,
  9. SymbolRenderer? symbolRenderer,
})

Implementation

TreeMapRendererConfig(
    {this.customRendererId,
    this.patternStrokeWidthPx = 1.0,
    this.strokeWidthPx = 1.0,
    this.layoutPaintOrder = LayoutViewPaintOrder.treeMap,
    this.rectPaddingPx = _defaultRectPadding,
    this.tileType = TreeMapTileType.squarified,
    this.labelDecorator,
    Color? strokeColor,
    SymbolRenderer? symbolRenderer})
    : strokeColor = strokeColor ?? StyleFactory.style.black,
      symbolRenderer = symbolRenderer ?? RectSymbolRenderer();