BarRendererConfig<D> constructor
BarRendererConfig<D> ({
- 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,
- BarRendererDecorator<
D> ? barRendererDecorator, - SymbolRenderer? symbolRenderer,
- 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,
);