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({
  int barGroupInnerPaddingPx = 2,
  String? customRendererId,
  CornerStrategy? cornerStrategy,
  FillPatternType? fillPattern,
  BarGroupingType? groupingType,
  int layoutPaintOrder = LayoutViewPaintOrder.bar,
  int minBarLengthPx = 0,
  int? maxBarWidthPx,
  int stackedBarPaddingPx = 1,
  double strokeWidthPx = 0.0,
  this.barRendererDecorator,
  SymbolRenderer? symbolRenderer,
  List<int>? weightPattern,
})  : cornerStrategy = cornerStrategy ?? const ConstCornerStrategy(2),
      super(
        barGroupInnerPaddingPx: barGroupInnerPaddingPx,
        customRendererId: customRendererId,
        groupingType: groupingType ?? BarGroupingType.grouped,
        layoutPaintOrder: layoutPaintOrder,
        minBarLengthPx: minBarLengthPx,
        maxBarWidthPx: maxBarWidthPx,
        fillPattern: fillPattern,
        stackedBarPaddingPx: stackedBarPaddingPx,
        strokeWidthPx: strokeWidthPx,
        symbolRenderer: symbolRenderer,
        weightPattern: weightPattern,
      );