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:
@@ -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());
|
||||
}
|
||||
|
||||
@@ -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(() {
|
||||
|
||||
Reference in New Issue
Block a user