SimpleChartReferenceLine constructor

const SimpleChartReferenceLine({
  1. required double value,
  2. String? label,
  3. Color? color,
  4. double strokeWidth = 1.4,
  5. SimpleChartReferenceLineStyle lineStyle = SimpleChartReferenceLineStyle.dashed,
  6. bool showLabel = true,
})

Implementation

const SimpleChartReferenceLine({
  required this.value,
  this.label,
  this.color,
  this.strokeWidth = 1.4,
  this.lineStyle = SimpleChartReferenceLineStyle.dashed,
  this.showLabel = true,
}) : assert(strokeWidth > 0);