RSIIndicator constructor

RSIIndicator({
  1. int period = 14,
  2. Color color = const Color(0xFF7E57C2),
  3. double strokeWidth = 1.5,
})

Implementation

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