Merge pull request #503 from abarth/dump_layer_tree

Add debugDumpLayerTree to dump the layer tree
This commit is contained in:
Adam Barth
2015-11-19 15:10:02 -08:00
6 changed files with 101 additions and 9 deletions

View File

@@ -107,7 +107,7 @@ class StockHomeState extends State<StockHome> {
),
new DrawerItem(
icon: 'device/dvr',
onPressed: () { debugDumpApp(); debugDumpRenderTree(); },
onPressed: () { debugDumpApp(); debugDumpRenderTree(); debugDumpLayerTree(); },
child: new Text('Dump App to Console')
),
new DrawerDivider(),