Rename "slow mode" to be "debug mode" (#15205)

This moves toward more consistency in our messaging. Apps are
launched using --debug, so the banner will reflect the build
mode.
This commit is contained in:
Todd Volkert
2018-03-08 12:54:06 -08:00
committed by GitHub
parent 1087279a4d
commit d996ab921c
7 changed files with 11 additions and 11 deletions

View File

@@ -36,6 +36,6 @@ class SampleScreenshotsState extends State<SampleScreenshots> {
void main() {
enableFlutterDriverExtension();
WidgetsApp.debugAllowBannerOverride = false; // No "slow mode" banner.
WidgetsApp.debugAllowBannerOverride = false; // No "debug" banner.
runApp(new SampleScreenshots());
}

View File

@@ -202,7 +202,7 @@ class GalleryHomeState extends State<GalleryHome> with SingleTickerProviderState
)
);
// In checked mode our MaterialApp will show the default "slow mode" banner.
// In checked mode our MaterialApp will show the default "debug" banner.
// Otherwise show the "preview" banner.
bool showPreviewBanner = true;
assert(() {