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

Unified Diff: sky/sdk/lib/rendering/README.md

Issue 1231873007: Make changing themes work again. (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: Created 5 years, 5 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/widgets/README.md » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sky/sdk/lib/rendering/README.md
diff --git a/sky/sdk/lib/rendering/README.md b/sky/sdk/lib/rendering/README.md
index 30884cc0c4de3cca03abe550de4a1c4a14ef6e85..94eaa92ada58005f6c93a5354de4494e52ce4f07 100644
--- a/sky/sdk/lib/rendering/README.md
+++ b/sky/sdk/lib/rendering/README.md
@@ -364,6 +364,20 @@ Performance rules of thumb
* Avoid using save/restore on canvases.
+Useful debugging tools
+----------------------
+
+This is a quick way to dump the entire render tree to the console.
+This can be quite useful in figuring out exactly what is going on when
+working with the render tree.
+
+```dart
+import 'package:sky/rendering/sky_binding.dart';
+
+SkyBinding.instance.debugDumpRenderTree();
+```
+
+
Dependencies
------------
« no previous file with comments | « no previous file | sky/sdk/lib/widgets/README.md » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698