period property Null safety

int period
final

Period determines the start point for the rendering of technical indicators.

Defaults to 14.

Widget build(BuildContext context) {
 return SfCartesianChart(
   indicators: <TechnicalIndicators<Sample, num>>[
     StochasticIndicator<Sample, num>(
       period : 4
     ),
   ],
 );
}

Implementation

final int period;