This reverts commit 03d5bb8f53. With this change applied, test/widgets/widget_inspector_test.dart is failing when run by the dev/bots/test.dart script in the framework tree.
03d5bb8f53