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({
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,
);