ProgramRenderEvent constructor

const ProgramRenderEvent({
  1. required int renderGeneration,
  2. required Object view,
  3. required DegradationLevel degradationLevel,
  4. required Duration renderDuration,
  5. int? width,
  6. int? height,
  7. TerminalNativeFrame? nativeFrame,
  8. TerminalNativeDeltaFrame? nativeDelta,
  9. TerminalNativeCellDeltaFrame? nativeCellDelta,
  10. List<TerminalNativeSpanDelta>? nativeSpanDelta,
})

Creates a render event.

Implementation

const ProgramRenderEvent({
  required this.renderGeneration,
  required this.view,
  required this.degradationLevel,
  required this.renderDuration,
  this.width,
  this.height,
  this.nativeFrame,
  this.nativeDelta,
  this.nativeCellDelta,
  this.nativeSpanDelta,
});