EcgMonitor constructor
const
EcgMonitor({
- Key? key,
- required ModuleInterface module,
- Widget? onLoadingWidget,
- double? width,
- double? height,
- Color color = Colors.black,
- Widget wrapperWidget()?,
- Color pivotColor = Colors.transparent,
- double pivotStrokeWidth = 0,
- double strokeWidth = 1.5,
- double? maxY = 1.5,
- double? minY = -1.5,
- Color backgroundColor = Colors.transparent,
- List<
int> ignoreChannels = const [], - bool isTappable = false,
- bool isShowGrid = true,
- bool isFiltered = true,
- Color gridColor = Colors.red,
- int samplingRate = 250,
- double? gridStrokeWidth,
- 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,
});