curveColor property Null safety

Color curveColor
final

Color of the normal distribution spline curve.

Defaults to Colors.blue

Widget build(BuildContext context) {
   return Container(
       child: SfCartesianChart(
           selectionGesture: ActivationMode.doubleTap,
           series: <HistogramSeries<SalesData, num>>[
               HistogramSeries<SalesData, num>(
                  curveColor: Colors.red
               ),
             ],
       ));
}

Implementation

final Color curveColor;