BarRendererConfig<D> constructor
BarRendererConfig<D> ({
- 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({
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(
customRendererId: customRendererId,
groupingType: groupingType ?? BarGroupingType.grouped,
layoutPaintOrder: layoutPaintOrder,
minBarLengthPx: minBarLengthPx,
maxBarWidthPx: maxBarWidthPx,
fillPattern: fillPattern,
stackedBarPaddingPx: stackedBarPaddingPx,
strokeWidthPx: strokeWidthPx,
symbolRenderer: symbolRenderer,
weightPattern: weightPattern,
);