StackedLineSeries<T, D>  constructor 
      const
      StackedLineSeries<T, D> ({ 
    
- ValueKey<String> ? key,
- ChartSeriesRendererFactory<T, D> ? onCreateRenderer,
- List<T> ? dataSource,
- required ChartValueMapper<T, D> ? xValueMapper,
- required ChartValueMapper<T, num> ? yValueMapper,
- ChartValueMapper<T, dynamic> ? sortFieldValueMapper,
- ChartValueMapper<T, Color> ? pointColorMapper,
- ChartValueMapper<T, String> ? dataLabelMapper,
- String? xAxisName,
- String? yAxisName,
- Color? color,
- double width = 2,
- MarkerSettings markerSettings = const MarkerSettings(),
- EmptyPointSettings emptyPointSettings = const EmptyPointSettings(),
- DataLabelSettings dataLabelSettings = const DataLabelSettings(),
- bool initialIsVisible = true,
- String? name,
- bool enableTooltip = true,
- bool enableTrackball = true,
- List<double> ? dashArray,
- double animationDuration = 1500,
- String groupName = '',
- List<Trendline> ? trendlines,
- SelectionBehavior? selectionBehavior,
- bool isVisibleInLegend = true,
- LegendIconType legendIconType = LegendIconType.seriesType,
- SortingOrder sortingOrder = SortingOrder.none,
- String? legendItemText,
- double opacity = 1.0,
- double animationDelay = 0,
- SeriesRendererCreatedCallback<T, D> ? onRendererCreated,
- ChartPointInteractionCallback? onPointTap,
- ChartPointInteractionCallback? onPointDoubleTap,
- ChartPointInteractionCallback? onPointLongPress,
- CartesianShaderCallback? onCreateShader,
- List<int> ? initialSelectedDataIndexes,
Creating an argument constructor of StackedLineSeries class.
Implementation
const StackedLineSeries({
  super.key,
  super.onCreateRenderer,
  super.dataSource,
  required super.xValueMapper,
  required super.yValueMapper,
  super.sortFieldValueMapper,
  super.pointColorMapper,
  super.dataLabelMapper,
  super.xAxisName,
  super.yAxisName,
  super.color,
  double width = 2,
  super.markerSettings,
  super.emptyPointSettings,
  super.dataLabelSettings,
  super.initialIsVisible,
  super.name,
  super.enableTooltip = true,
  super.enableTrackball = true,
  super.dashArray,
  super.animationDuration,
  this.groupName = '',
  super.trendlines,
  super.selectionBehavior,
  super.isVisibleInLegend,
  super.legendIconType,
  super.sortingOrder,
  super.legendItemText,
  super.opacity,
  super.animationDelay,
  super.onRendererCreated,
  super.onPointTap,
  super.onPointDoubleTap,
  super.onPointLongPress,
  super.onCreateShader,
  super.initialSelectedDataIndexes,
}) : super(borderWidth: width);