Add debugDumpLayerTree to dump the layer tree

To help debugging issues with the layer tree.
This commit is contained in:
Adam Barth
2015-11-19 14:45:40 -08:00
parent fd1dd7fafc
commit dfbd8c6a8a
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(),