centerLineColor property Null safety

Color centerLineColor
final

Center line color of the momentum indicator

Defaults to Colors.red

Widget build(BuildContext context) {
   return Container(
       child: SfCartesianChart(
              indicators: <TechnicalIndicators<dynamic, dynamic>>[
                       MomentumIndicator<dynamic, dynamic>(
                       centerLineColor: Color.red,
                        ),]
        ));
}

Implementation

final Color centerLineColor;