Skip to content

Commit 7de9811

Browse files
committed
Mark prototype's DiagnosticNode as offstage (fixes #3)
Signed-off-by: Mateus Felipe C. C. Pinto <[email protected]>
1 parent 3371b29 commit 7de9811

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

lib/src/widget.dart

+5-1
Original file line numberDiff line numberDiff line change
@@ -326,7 +326,11 @@ final class RenderPrototypeConstrainedBox extends RenderProxyBox {
326326
List<DiagnosticsNode> debugDescribeChildren() {
327327
return [
328328
...super.debugDescribeChildren(),
329-
if (prototype case final prototype?) prototype.toDiagnosticsNode(name: 'prototype'),
329+
if (prototype case final prototype?)
330+
prototype.toDiagnosticsNode(
331+
name: 'prototype',
332+
style: DiagnosticsTreeStyle.offstage,
333+
),
330334
];
331335
}
332336
}

0 commit comments

Comments
 (0)