CurvyArrow constructor

const CurvyArrow(
  1. double height,
  2. double width, {
  3. Color? color,
  4. double? strokeWidth,
  5. CubicBezier? cubicBezier,
  6. Key? key,
})

Constructs a CurvyArrow widget.

height is the height of the curvy arrow.

width is the width of the curvy arrow.

color is the color of the curvy arrow. If not provided, the arrow is drawn in black.

strokeWidth specifies the width of the arrow. If not provided, the arrow will have a stroke width of 5.0.

cubicBezier specifies the parameters of the cubic bezier curve used to draw the arrow. If not provided, the arrow will be drawn with a default curve CubicBezier.defaultCurve.

Implementation

const CurvyArrow(
  this.height,
  this.width, {
  this.color,
  this.strokeWidth,
  this.cubicBezier,
  super.key,
});