SeriesItem constructor

const SeriesItem({
  1. required String name,
  2. required List<SeriesPoint> points,
  3. required Color color,
  4. double pointRadius = 5.0,
  5. bool connectPoints = false,
  6. double lineWidth = 2.0,
  7. bool showPoints = true,
  8. StrokeCap lineCap = StrokeCap.round,
})

Implementation

const SeriesItem({
  required this.name,
  required this.points,
  required this.color,
  this.pointRadius = 5.0,
  this.connectPoints = false,
  this.lineWidth = 2.0,
  this.showPoints = true,
  this.lineCap = StrokeCap.round,
});