globals.printStatus('You can dump the widget hierarchy of the app (debugDumpApp) by pressing "w".');
globals.printStatus('To dump the rendering tree of the app (debugDumpRenderTree), press "t".');
CommandHelp.w.print();
CommandHelp.t.print();
if(isRunningDebug){
globals.printStatus('For layers (debugDumpLayerTree), use "L"; for accessibility (debugDumpSemantics), use "S" (for traversal order) or "U" (for inverse hit test order).');
globals.printStatus('To toggle the widget inspector (WidgetsApp.showWidgetInspectorOverride), press "i".');
globals.printStatus('To toggle the display of construction lines (debugPaintSizeEnabled), press "p".');
globals.printStatus('To simulate different operating systems, (defaultTargetPlatform), press "o".');
globals.printStatus('To toggle the elevation checker, press "z".');
CommandHelp.L.print();
CommandHelp.S.print();
CommandHelp.U.print();
CommandHelp.i.print();
CommandHelp.p.print();
CommandHelp.o.print();
CommandHelp.z.print();
}else{
globals.printStatus('To dump the accessibility tree (debugDumpSemantics), press "S" (for traversal order) or "U" (for inverse hit test order).');
CommandHelp.S.print();
CommandHelp.U.print();
}
globals.printStatus('To display the performance overlay (WidgetsApp.showPerformanceOverlay), press "P".');
globals.printStatus('To enable timeline events for all widget build methods, (debugProfileWidgetBuilds), press "a"');
expect(CommandHelp.R.toString(),equals('\x1B[1mR\x1B[22m Hot restart.'));
expect(CommandHelp.S.toString(),equals('\x1B[1mS\x1B[22m Dump accessibility tree in traversal order. \x1B[1;30m(debugDumpSemantics)\x1B[39m'));
expect(CommandHelp.U.toString(),equals('\x1B[1mU\x1B[22m Dump accessibility tree in inverse hit test order. \x1B[1;30m(debugDumpSemantics)\x1B[39m'));
expect(CommandHelp.a.toString(),equals('\x1B[1ma\x1B[22m Toggle timeline events for all widget build methods. \x1B[1;30m(debugProfileWidgetBuilds)\x1B[39m'));
expect(CommandHelp.d.toString(),equals('\x1B[1md\x1B[22m Detach (terminate "flutter run" but leave application running).'));
expect(CommandHelp.h.toString(),equals('\x1B[1mh\x1B[22m Repeat this help message.'));