period property

int period
final

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

Defaults to 14.

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

Implementation

final int period;