DevTools 2.17.0 release notes
The 2.17.0 release of the Dart and Flutter DevTools includes the following changes among other general improvements. To learn more about DevTools, check out the DevTools overview.
Inspector updates
#-
Added support for manually setting the package directories for your app. If you've ever loaded the Inspector and noticed that some of your widgets aren't present in the widget tree, this might indicate that the package directories for your app haven't been set or detected properly. Your package directories determine which widgets the Inspector considers to be from your application. If you see an empty Inspector widget tree, or if you develop widgets across multiple packages, and want widgets from all these locations to show up in your tree, check the Inspector Settings dialog to ensure that your package directories are properly configured - #4306
Performance updates
#-
Added a Frame Analysis tab to the Performance page. When analyzing a janky Flutter frame, this view provides hints for how to diagnose the jank and detects expensive operations that might have contributed to the slow frame time. This view also shows a breakdown of your Flutter frame time per phase (Build, Layout, Paint, and Raster) to try to guide you in the right direction - #4339
Full commit history
#除非另有说明,本文档之所提及适用于 Flutter 的最新稳定版本,本页面最后更新时间: 2024-10-09。 查看文档源码 或者 为本页面内容提出建议。