AreaSeries constructor

const AreaSeries({
  1. Key? key,
  2. required List<XYDataPoint> data,
  3. Color color = Colors.blue,
  4. double opacity = 0.3,
  5. bool showLine = true,
  6. Color? lineColor,
  7. double lineWidth = 2,
  8. bool smooth = false,
  9. double tension = 0.4,
  10. Gradient? gradient,
  11. double baseline = 0,
})

Implementation

const AreaSeries({
  super.key,
  required this.data,
  this.color = Colors.blue,
  this.opacity = 0.3,
  this.showLine = true,
  this.lineColor,
  this.lineWidth = 2,
  this.smooth = false,
  this.tension = 0.4,
  this.gradient,
  this.baseline = 0,
});