BarRenderer<D> constructor

BarRenderer<D>({
  1. BarRendererConfig<D>? config,
  2. String? rendererId,
})

Implementation

factory BarRenderer({BarRendererConfig<D>? config, String? rendererId}) {
  rendererId ??= 'bar';
  config ??= BarRendererConfig();
  return BarRenderer.internal(config: config, rendererId: rendererId);
}