BarTargetLineRenderer<D> constructor

BarTargetLineRenderer<D>({
  1. BarTargetLineRendererConfig<D>? config,
  2. String? rendererId,
})

Implementation

factory BarTargetLineRenderer({
  BarTargetLineRendererConfig<D>? config,
  String? rendererId,
}) {
  config ??= BarTargetLineRendererConfig<D>();
  rendererId ??= 'barTargetLine';
  return BarTargetLineRenderer._internal(
    config: config,
    rendererId: rendererId,
  );
}