SimpleScatterReferenceBand constructor

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

Implementation

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