BezierLine constructor

const BezierLine({
  1. Color lineColor = Colors.white,
  2. double lineStrokeWidth = 3.0,
  3. String label = "",
  4. MissingValueBuilder? onMissingValue,
  5. Color? dataPointFillColor,
  6. Color? dataPointStrokeColor,
  7. required List<DataPoint> data,
})

Implementation

const BezierLine({
  this.lineColor = Colors.white,
  this.lineStrokeWidth = 3.0,
  this.label = "",
  this.onMissingValue,
  Color? dataPointFillColor,
  Color? dataPointStrokeColor,
  required this.data,
})  : dataPointFillColor = dataPointFillColor ?? lineColor,
      dataPointStrokeColor = dataPointStrokeColor ?? lineColor;