CurvedArrow constructor

CurvedArrow({
  1. required Vector3 start,
  2. required Vector3 end,
  3. double startAngle = 0,
  4. double angle = TAU / 4,
  5. double radius = 1,
  6. Vector3 arcCenter = ORIGIN,
  7. bool anchorsSpanFullRange = true,
  8. int numComponents = 9,
  9. Color color = WHITE,
})

Implementation

CurvedArrow({
  required Vector3 start,
  required Vector3 end,
  double startAngle = 0,
  double angle = TAU / 4,
  double radius = 1,
  Vector3 arcCenter = ORIGIN,
  bool anchorsSpanFullRange = true,
  int numComponents = 9,
  Color color = WHITE,
}) : super(
        start: start,
        end: end,
        color: color,
        startAngle: startAngle,
        angle: angle,
        radius: radius,
        arcCenter: arcCenter,
        numComponents: numComponents,
      ) {
  addTip();
}