BarRendererConfig<D> constructor

BarRendererConfig<D>({
  1. int barGroupInnerPaddingPx = 2,
  2. String? customRendererId,
  3. CornerStrategy? cornerStrategy,
  4. FillPatternType? fillPattern,
  5. BarGroupingType? groupingType,
  6. int layoutPaintOrder = LayoutViewPaintOrder.bar,
  7. int minBarLengthPx = 0,
  8. int? maxBarWidthPx,
  9. int stackedBarPaddingPx = 1,
  10. double strokeWidthPx = 0.0,
  11. BarRendererDecorator<D>? barRendererDecorator,
  12. SymbolRenderer? symbolRenderer,
  13. List<int>? weightPattern,
})

Implementation

BarRendererConfig({
  super.barGroupInnerPaddingPx,
  super.customRendererId,
  CornerStrategy? cornerStrategy,
  super.fillPattern,
  BarGroupingType? groupingType,
  int super.layoutPaintOrder = LayoutViewPaintOrder.bar,
  super.minBarLengthPx,
  super.maxBarWidthPx,
  super.stackedBarPaddingPx,
  super.strokeWidthPx,
  this.barRendererDecorator,
  super.symbolRenderer,
  super.weightPattern,
})  : cornerStrategy = cornerStrategy ?? const ConstCornerStrategy(2),
      super(
        groupingType: groupingType ?? BarGroupingType.grouped,
      );