DebugOverlayModel constructor

DebugOverlayModel({
  1. required bool enabled,
  2. required int terminalWidth,
  3. required int terminalHeight,
  4. required RenderMetrics? metrics,
  5. required Map<String, String> customMetrics,
  6. required int? panelX,
  7. required int? panelY,
  8. required bool dragging,
  9. required int dragOffsetX,
  10. required int dragOffsetY,
  11. int panelWidth = 40,
  12. int marginRight = 2,
  13. int marginTop = 0,
  14. int marginBottom = 2,
  15. String title = 'Render Metrics',
  16. String rendererLabel = 'UV',
  17. DebugOverlayMode mode = DebugOverlayMode.metrics,
  18. List<DevToolsMessageEntry> messageEntries = const <DevToolsMessageEntry>[],
  19. List<OutputLogEntry> outputEntries = const <OutputLogEntry>[],
  20. int maxDisplayMessages = 8,
  21. int maxDisplayOutput = 8,
})

Implementation

DebugOverlayModel({
  required this.enabled,
  required this.terminalWidth,
  required this.terminalHeight,
  required this.metrics,
  required this.customMetrics,
  required this.panelX,
  required this.panelY,
  required this.dragging,
  required this.dragOffsetX,
  required this.dragOffsetY,
  this.panelWidth = 40,
  this.marginRight = 2,
  this.marginTop = 0,
  this.marginBottom = 2,
  this.title = 'Render Metrics',
  this.rendererLabel = 'UV',
  this.mode = DebugOverlayMode.metrics,
  this.messageEntries = const <DevToolsMessageEntry>[],
  this.outputEntries = const <OutputLogEntry>[],
  this.maxDisplayMessages = 8,
  this.maxDisplayOutput = 8,
});