SimpleChartReferenceBand constructor

const SimpleChartReferenceBand({
  1. required double from,
  2. required double to,
  3. String? label,
  4. Color? color,
  5. double opacity = 0.1,
  6. bool showLabel = true,
})

Implementation

const SimpleChartReferenceBand({
  required this.from,
  required this.to,
  this.label,
  this.color,
  this.opacity = 0.1,
  this.showLabel = true,
}) : assert(opacity >= 0 && opacity <= 1);