WaterfallSeries<T, D>  constructor 
      const
      WaterfallSeries<T, D> ({ 
    
- ValueKey<
String> ? key, - ChartSeriesRendererFactory<
T, D> ? onCreateRenderer, - List<
T> ? dataSource, - required ChartValueMapper<
T, D> ? xValueMapper, - required ChartValueMapper<
T, num> ? yValueMapper, - ChartValueMapper<
T, bool> ? intermediateSumPredicate, - ChartValueMapper<
T, bool> ? totalSumPredicate, - Color? negativePointsColor,
 - Color? intermediateSumColor,
 - Color? totalSumColor,
 - ChartValueMapper<
T, dynamic> ? sortFieldValueMapper, - ChartValueMapper<
T, Color> ? pointColorMapper, - ChartValueMapper<
T, String> ? dataLabelMapper, - SortingOrder sortingOrder = SortingOrder.none,
 - WaterfallConnectorLineSettings connectorLineSettings = const WaterfallConnectorLineSettings(),
 - String? xAxisName,
 - String? yAxisName,
 - String? name,
 - Color? color,
 - double width = 0.7,
 - double spacing = 0.0,
 - MarkerSettings markerSettings = const MarkerSettings(),
 - DataLabelSettings dataLabelSettings = const DataLabelSettings(),
 - bool initialIsVisible = true,
 - LinearGradient? gradient,
 - LinearGradient? borderGradient,
 - BorderRadius borderRadius = BorderRadius.zero,
 - bool enableTooltip = true,
 - bool enableTrackball = true,
 - double animationDuration = 1500,
 - Color borderColor = Colors.transparent,
 - List<
Trendline> ? trendlines, - double borderWidth = 2.0,
 - SelectionBehavior? selectionBehavior,
 - bool isVisibleInLegend = true,
 - LegendIconType legendIconType = LegendIconType.seriesType,
 - String? legendItemText,
 - double opacity = 1.0,
 - double animationDelay = 0,
 - List<
double> ? dashArray, - SeriesRendererCreatedCallback<
T, D> ? onRendererCreated, - ChartPointInteractionCallback? onPointTap,
 - ChartPointInteractionCallback? onPointDoubleTap,
 - ChartPointInteractionCallback? onPointLongPress,
 - CartesianShaderCallback? onCreateShader,
 - List<
int> ? initialSelectedDataIndexes, 
Creating an argument constructor of WaterfallSeries class.
Implementation
const WaterfallSeries({
  super.key,
  super.onCreateRenderer,
  super.dataSource,
  required super.xValueMapper,
  required super.yValueMapper,
  this.intermediateSumPredicate,
  this.totalSumPredicate,
  this.negativePointsColor,
  this.intermediateSumColor,
  this.totalSumColor,
  super.sortFieldValueMapper,
  super.pointColorMapper,
  super.dataLabelMapper,
  super.sortingOrder,
  this.connectorLineSettings = const WaterfallConnectorLineSettings(),
  super.xAxisName,
  super.yAxisName,
  super.name,
  super.color,
  this.width = 0.7,
  this.spacing = 0.0,
  super.markerSettings,
  super.dataLabelSettings,
  super.initialIsVisible,
  super.gradient,
  super.borderGradient,
  this.borderRadius = BorderRadius.zero,
  super.enableTooltip = true,
  super.enableTrackball = true,
  super.animationDuration,
  this.borderColor = Colors.transparent,
  super.trendlines,
  super.borderWidth,
  super.selectionBehavior,
  super.isVisibleInLegend,
  super.legendIconType,
  super.legendItemText,
  super.opacity,
  super.animationDelay,
  super.dashArray,
  super.onRendererCreated,
  super.onPointTap,
  super.onPointDoubleTap,
  super.onPointLongPress,
  super.onCreateShader,
  super.initialSelectedDataIndexes,
});