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?> config,
required String rendererId,
}) : barRendererDecorator = config.barRendererDecorator,
_stackedBarPaddingPx = config.stackedBarPaddingPx,
_barGroupInnerPaddingPx = config.barGroupInnerPaddingPx,
super(
config: config,
rendererId: rendererId,
layoutPaintOrder: config.layoutPaintOrder ?? 0);