SimpleVisualization constructor

const SimpleVisualization({
  1. Key? key,
  2. required List<double> ecgSequence,
  3. double time = 10,
  4. int rate = 250,
  5. double? width,
  6. double? height,
  7. double minY = -3,
  8. double maxY = 3,
  9. double strokeWidth = 1.5,
  10. bool isTappable = false,
  11. Color color = Colors.black,
})

Implementation

const SimpleVisualization({
  super.key,
  required this.ecgSequence,
  this.time = 10,
  this.rate = 250,
  this.width,
  this.height,
  this.minY = -3,
  this.maxY = 3,

  this.strokeWidth = 1.5,

  this.isTappable = false,
  this.color = Colors.black,
});