EMAIndicator constructor

EMAIndicator({
  1. int period = 20,
  2. Color color = const Color(0xFF2962FF),
  3. double strokeWidth = 1.5,
})

Implementation

EMAIndicator({
  this.period = 20,
  this.color = const Color(0xFF2962FF),
  this.strokeWidth = 1.5,
}) : assert(period > 0, 'Period must be positive');