totalSumColor property Null safety

Color? totalSumColor
final

Color of the total sum points in the series.

If no color is specified, then the total sum points will be rendered with the series default color.

Defaults to null.

Widget build(BuildContext context) {
   return Container(
       child: SfCartesianChart(
           series: <WaterfallSeries<SalesData, num>>[
               WaterfallSeries<SalesData, num>(
                 totalSumColor: Colors.red,
               ),
             ],
       )
    );
}

Implementation

final Color? totalSumColor;