InitialSelection<D> constructor

InitialSelection<D>({
  1. SelectionModelType selectionModelType = SelectionModelType.info,
  2. List<SeriesDatumConfig<D>>? selectedDataConfig,
  3. List<String>? selectedSeriesConfig,
  4. bool shouldPreserveSelectionOnDraw = false,
})

Implementation

InitialSelection(
    {this.selectionModelType = SelectionModelType.info,
    this.selectedDataConfig,
    this.selectedSeriesConfig,
    this.shouldPreserveSelectionOnDraw = false}) {
  _lifecycleListener = LifecycleListener<D>(onData: _setInitialSelection);
}