ChartRenderer<T> constructor

ChartRenderer<T>(
  1. ChartState<T?> chartState, {
  2. Key? key,
})

Implementation

ChartRenderer(this.chartState, {Key? key})
    : super(key: key, children: [
        DecorationsRenderer(chartState.backgroundDecorations, chartState),
        chartState.dataRenderer.call(chartState),
        DecorationsRenderer(chartState.foregroundDecorations, chartState),
      ]);