Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(327)

Unified Diff: sky/sdk/lib/framework/components2/scaffold.dart

Issue 1157993005: Give RenderObject a useful toString(). (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: Created 5 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | sky/sdk/lib/framework/rendering/box.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sky/sdk/lib/framework/components2/scaffold.dart
diff --git a/sky/sdk/lib/framework/components2/scaffold.dart b/sky/sdk/lib/framework/components2/scaffold.dart
index 4cac5d2a9d9239624ebe7f6e97e6f352bccfe684..ea6c3797b35b4da035ff55c93605c46292125f6b 100644
--- a/sky/sdk/lib/framework/components2/scaffold.dart
+++ b/sky/sdk/lib/framework/components2/scaffold.dart
@@ -130,6 +130,9 @@ class RenderScaffold extends RenderBox {
}
}
+ String debugDescribeChildren(String prefix) {
+ return _slots.keys.map((slot) => '${prefix}${slot}: ${_slots[slot].toString(prefix)}').join('\n');
+ }
}
class Scaffold extends RenderObjectWrapper {
« no previous file with comments | « no previous file | sky/sdk/lib/framework/rendering/box.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698