BarRenderer<D>.internal constructor
BarRenderer<D>.internal ({
- required BarRendererConfig<
Object?> config, - required String rendererId,
This constructor is protected because it is used by child classes, which cannot call the factory in their own constructors.
Implementation
@protected
BarRenderer.internal({
required BarRendererConfig<Object?> super.config,
required super.rendererId,
}) : barRendererDecorator = config.barRendererDecorator,
_stackedBarPaddingPx = config.stackedBarPaddingPx,
_barGroupInnerPaddingPx = config.barGroupInnerPaddingPx,
super(
layoutPaintOrder: config.layoutPaintOrder ?? 0,
);