MAEnvIndicatorConfig constructor
const
MAEnvIndicatorConfig({
- int period = 50,
- MovingAverageType movingAverageType = MovingAverageType.simple,
- String fieldType = 'close',
- double shift = 5,
- ShiftType shiftType = ShiftType.percent,
- LineStyle upperLineStyle = const LineStyle(color: Colors.green),
- LineStyle middleLineStyle = const LineStyle(color: Colors.blue),
- LineStyle lowerLineStyle = const LineStyle(color: Colors.red),
- Color fillColor = Colors.white12,
- bool showChannelFill = true,
- bool showLastIndicator = false,
- int number = 0,
Initializes
Implementation
const MAEnvIndicatorConfig({
int super.period = 50,
MovingAverageType super.movingAverageType = MovingAverageType.simple,
String super.fieldType = 'close',
this.shift = 5,
this.shiftType = ShiftType.percent,
this.upperLineStyle = const LineStyle(color: Colors.green),
this.middleLineStyle = const LineStyle(color: Colors.blue),
this.lowerLineStyle = const LineStyle(color: Colors.red),
this.fillColor = Colors.white12,
this.showChannelFill = true,
super.showLastIndicator,
super.number,
});