AreaPath constructor

const AreaPath({
  1. Key? key,
  2. required List<Point> points,
  3. List<Point>? bottomPoints,
  4. double baseline = 0,
  5. Curve? curve,
  6. Color color = const Color(0x80000000),
  7. Color? strokeColor,
  8. double strokeWidth = 1.0,
  9. Shader? shader,
  10. bool defined(
    1. Point
    )?,
})

Creates an area path widget.

Implementation

const AreaPath({
  super.key,
  required this.points,
  this.bottomPoints,
  this.baseline = 0,
  this.curve,
  this.color = const Color(0x80000000),
  this.strokeColor,
  this.strokeWidth = 1.0,
  this.shader,
  this.defined,
});