如何在Flutter Dev Tool中启用'Performance Overlay'

问题描述 投票:0回答:1

我有2个flutter项目,但其中之一是禁用Performance Overlay。如何启用它?

两个项目都以VS Code,概要文件模式,真实设备运行。

WORK

enter image description here

NO T WORK

enter image description here

android-studio flutter dart visual-studio-code ide
1个回答
0
投票

确保您在profile mode中运行,并且未使用模拟器。

对于Android Studio:使用运行> Flutter Run main.dart in Profile Mode菜单项。

更多详细信息:Flutter performance profiling

© www.soinside.com 2019 - 2024. All rights reserved.