为什么 flutter 调试应用程序显示 "Slow Mode" 横幅?
Why flutter debug apps shows "Slow Mode" banner?
我最近开始使用 Flutter 广告,注意到调试模式下的应用程序显示 "Slow Mode",我知道它仅在调试模式下显示慢速模式,我们可以通过在我们的 debugShowCheckedModeBanner: false
上设置来删除它MaterialApp.So,问题是,我的应用程序在右上角有一个慢速模式 banner/ribbon。为什么我看到那个?
应用程序在调试模式下应该相对较慢。
Debug mode on device (including simulators, emulators):
Turns on all the assertions in the world, includes all debugging information,
enables all the debugger aids (e.g. observatory) and service
extensions. Optimizes for fast develop/run cycles. Does not optimize
for execution speed, binary size, or deployment. Used by flutter run.
Built with sky/tools/gn --android or sky/tools/gn --ios. Also
sometimes called "checked mode" or "slow mode".
我最近开始使用 Flutter 广告,注意到调试模式下的应用程序显示 "Slow Mode",我知道它仅在调试模式下显示慢速模式,我们可以通过在我们的 debugShowCheckedModeBanner: false
上设置来删除它MaterialApp.So,问题是,我的应用程序在右上角有一个慢速模式 banner/ribbon。为什么我看到那个?
应用程序在调试模式下应该相对较慢。
Debug mode on device (including simulators, emulators):
Turns on all the assertions in the world, includes all debugging information, enables all the debugger aids (e.g. observatory) and service extensions. Optimizes for fast develop/run cycles. Does not optimize for execution speed, binary size, or deployment. Used by flutter run. Built with sky/tools/gn --android or sky/tools/gn --ios. Also sometimes called "checked mode" or "slow mode".