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 Container(
       child: SfCartesianChart(
           indicators: <TechnicalIndicators<dynamic, dynamic>>[
           SmaIndicator<dynamic, dynamic>(
               period : 4,
             ),
           ],
       ));
}

Implementation

final int period;