@@ -60,6 +60,7 @@ void _testMessageLength({
6060 expect (commandHelp.b.toString ().length, lessThanOrEqualTo (expectedWidth));
6161 expect (commandHelp.c.toString ().length, lessThanOrEqualTo (expectedWidth));
6262 expect (commandHelp.d.toString ().length, lessThanOrEqualTo (expectedWidth));
63+ expect (commandHelp.f.toString ().length, lessThanOrEqualTo (expectedWidth));
6364 expect (commandHelp.g.toString ().length, lessThanOrEqualTo (expectedWidth));
6465 expect (commandHelp.hWithDetails.toString ().length, lessThanOrEqualTo (expectedWidth));
6566 expect (commandHelp.hWithoutDetails.toString ().length, lessThanOrEqualTo (expectedWidth));
@@ -137,6 +138,7 @@ void main() {
137138 expect (commandHelp.U .toString (), endsWith ('\x 1B[90m(debugDumpSemantics)\x 1B[39m\x 1B[22m' ));
138139 expect (commandHelp.a.toString (), endsWith ('\x 1B[90m(debugProfileWidgetBuilds)\x 1B[39m\x 1B[22m' ));
139140 expect (commandHelp.b.toString (), endsWith ('\x 1B[90m(debugBrightnessOverride)\x 1B[39m\x 1B[22m' ));
141+ expect (commandHelp.f.toString (), endsWith ('\x 1B[90m(debugDumpFocusTree)\x 1B[39m\x 1B[22m' ));
140142 expect (commandHelp.i.toString (), endsWith ('\x 1B[90m(WidgetsApp.showWidgetInspectorOverride)\x 1B[39m\x 1B[22m' ));
141143 expect (commandHelp.o.toString (), endsWith ('\x 1B[90m(defaultTargetPlatform)\x 1B[39m\x 1B[22m' ));
142144 expect (commandHelp.p.toString (), endsWith ('\x 1B[90m(debugPaintSizeEnabled)\x 1B[39m\x 1B[22m' ));
@@ -193,6 +195,7 @@ void main() {
193195 expect (commandHelp.b.toString (), equals ('\x 1B[1mb\x 1B[22m Toggle platform brightness (dark and light mode). \x 1B[90m(debugBrightnessOverride)\x 1B[39m\x 1B[22m' ));
194196 expect (commandHelp.c.toString (), equals ('\x 1B[1mc\x 1B[22m Clear the screen' ));
195197 expect (commandHelp.d.toString (), equals ('\x 1B[1md\x 1B[22m Detach (terminate "flutter run" but leave application running).' ));
198+ expect (commandHelp.f.toString (), equals ('\x 1B[1mf\x 1B[22m Dump focus tree to the console. \x 1B[90m(debugDumpFocusTree)\x 1B[39m\x 1B[22m' ));
196199 expect (commandHelp.g.toString (), equals ('\x 1B[1mg\x 1B[22m Run source code generators.' ));
197200 expect (commandHelp.hWithDetails.toString (), equals ('\x 1B[1mh\x 1B[22m Repeat this help message.' ));
198201 expect (commandHelp.hWithoutDetails.toString (), equals ('\x 1B[1mh\x 1B[22m List all available interactive commands.' ));
0 commit comments