Arc constructor
const
Arc({
- Key? key,
- double centerX = 0,
- double centerY = 0,
- required double outerRadius,
- double innerRadius = 0,
- required double startAngle,
- required double endAngle,
- Color color = const Color(0xFF000000),
- Color? strokeColor,
- double strokeWidth = 1.0,
- double cornerRadius = 0,
- double padAngle = 0,
- Shader? shader,
Creates an arc widget.
Implementation
const Arc({
super.key,
this.centerX = 0,
this.centerY = 0,
required this.outerRadius,
this.innerRadius = 0,
required this.startAngle,
required this.endAngle,
this.color = const Color(0xFF000000),
this.strokeColor,
this.strokeWidth = 1.0,
this.cornerRadius = 0,
this.padAngle = 0,
this.shader,
});