DebugOverlayModel constructor
DebugOverlayModel({
- required bool enabled,
- required int terminalWidth,
- required int terminalHeight,
- required RenderMetrics? metrics,
- required Map<
String, String> customMetrics, - required int? panelX,
- required int? panelY,
- required bool dragging,
- required int dragOffsetX,
- required int dragOffsetY,
- int panelWidth = 40,
- int marginRight = 2,
- int marginTop = 0,
- int marginBottom = 2,
- String title = 'Render Metrics',
- String rendererLabel = 'UV',
- DebugOverlayMode mode = DebugOverlayMode.metrics,
- List<
DevToolsMessageEntry> messageEntries = const <DevToolsMessageEntry>[], - List<
OutputLogEntry> outputEntries = const <OutputLogEntry>[], - int maxDisplayMessages = 8,
- 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,
});