MGaugeGraph constructor
const
MGaugeGraph({
- Key? key,
- required double value,
- double max = 100,
- double graphWidth = 10,
- Color activeColor = Colors.red,
- List<
Color> ? activeGradientColors, - Color inactiveColor = Colors.white,
- double arcStartAngle = 135,
- double arcSweepAngle = 270,
- StrokeCap strokeCap = StrokeCap.butt,
- bool animate = false,
- int animateDuration = 200,
Implementation
const MGaugeGraph({
super.key,
required this.value,
this.max = 100,
this.graphWidth = 10,
this.activeColor = Colors.red,
this.activeGradientColors,
this.inactiveColor = Colors.white,
this.arcStartAngle = 135,
this.arcSweepAngle = 270,
this.strokeCap = StrokeCap.butt,
this.animate = false,
this.animateDuration = 200,
});