histogramNegativeColor property Null safety

Color histogramNegativeColor
final

Histogram Negative color of the macd indicator.

Defaults to Colors.red

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

Implementation

final Color histogramNegativeColor;