ECGGraph constructor

const ECGGraph({
  1. Key? key,
  2. required MBTimeWindow timeWindow,
  3. required MBGraphSize graphSize,
  4. required MBTickerType tickerType,
  5. required Map<String, dynamic> variable,
  6. required Color color,
  7. required double height,
  8. required DateTime referenceTime,
})

Implementation

const ECGGraph({
  super.key,
  required super.timeWindow,
  required super.graphSize,
  required super.tickerType,
  required super.variable,
  required super.color,
  required super.height,
  required super.referenceTime,
}) : super(
        allowedSizes: const [MBGraphSize.half],
        allowedVariableTypes: const [MBVariableType.number],
        allowedVariableForms: const [MBVariableForm.array],
      );