EcgMonitor constructor

const EcgMonitor({
  1. Key? key,
  2. required ModuleInterface module,
  3. Widget? onLoadingWidget,
  4. double? width,
  5. double? height,
  6. Color color = Colors.black,
  7. Widget wrapperWidget(
    1. List<Widget>
    )?,
  8. Color pivotColor = Colors.transparent,
  9. double pivotStrokeWidth = 0,
  10. double strokeWidth = 1.5,
  11. double? maxY = 1.5,
  12. double? minY = -1.5,
  13. Color backgroundColor = Colors.transparent,
  14. List<int> ignoreChannels = const [],
  15. bool isTappable = false,
  16. bool isShowGrid = true,
  17. bool isFiltered = true,
  18. Color gridColor = Colors.red,
  19. int samplingRate = 250,
  20. double? gridStrokeWidth,
  21. bool isShowGain = false,
})

Implementation

const EcgMonitor({
  super.key,
  required this.module,
  this.onLoadingWidget,
  this.width,
  this.height,
  this.color = Colors.black,
  this.wrapperWidget,
  this.pivotColor = Colors.transparent,
  this.pivotStrokeWidth = 0,
  this.strokeWidth = 1.5,
  this.maxY = 1.5,
  this.minY = -1.5,
  this.backgroundColor = Colors.transparent,
  this.ignoreChannels = const [],
  this.isTappable = false,
  this.isShowGrid = true,
  this.isFiltered = true,
  this.gridColor = Colors.red,
  this.samplingRate = 250,
  this.gridStrokeWidth,
  this.isShowGain = false,
});