BaseChart<D> constructor

const BaseChart<D>(
  1. List<Series<dynamic, D>> seriesList, {
  2. Key? key,
  3. bool? animate,
  4. Duration? animationDuration,
  5. SeriesRendererConfig<D>? defaultRenderer,
  6. List<SeriesRendererConfig<D>>? customSeriesRenderers,
  7. List<ChartBehavior<D>>? behaviors,
  8. List<SelectionModelConfig<D>>? selectionModels,
  9. RTLSpec? rtlSpec,
  10. bool defaultInteractions = true,
  11. LayoutConfig? layoutConfig,
  12. UserManagedState<D>? userManagedState,
})

Implementation

const BaseChart(
  this.seriesList, {
  super.key,
  bool? animate,
  Duration? animationDuration,
  this.defaultRenderer,
  this.customSeriesRenderers,
  this.behaviors,
  this.selectionModels,
  this.rtlSpec,
  this.defaultInteractions = true,
  this.layoutConfig,
  this.userManagedState,
})  : animate = animate ?? true,
      animationDuration =
          animationDuration ?? const Duration(milliseconds: 300);