Sector constructor

Sector({
  1. double startAngle = 0,
  2. double angle = TAU / 4,
  3. double outerRadius = 1,
  4. double innerRadius = 0,
  5. Vector3 arcCenter = ORIGIN,
  6. Color color = WHITE,
})

Implementation

Sector({
  double startAngle = 0,
  double angle = TAU / 4,
  double outerRadius = 1,
  double innerRadius = 0,
  Vector3 arcCenter = ORIGIN,
  Color color = WHITE,
}) : super(
        startAngle: startAngle,
        angle: angle,
        arcCenter: arcCenter,
        color: color,
        outerRadius: outerRadius,
        innerRadius: innerRadius,
      );