Help us understand the problem. What is going on with this article?

【Flutter】開発中のSlow Modeバナーを非表示にする

More than 1 year has passed since last update.

Flutterアプリで開発中にアプリの右上に表示されている"Slow Mode"バナーを非表示にする方法です。

これ

結論

MaterialApp の中で debugShowCheckedModeBannerfalse にする。

環境

  • Flutter 0.1.5
  • Dart 2.0.0-dev.28.0

サンプルコード

class MyApp extends StatelessWidget {
  @override
  Widget build(BuildContext context) {
    return new MaterialApp(
      title: 'Welcome to Flutter',
      debugShowCheckedModeBanner: false, // <---- HERE
      home: new Scaffold(
        appBar: new AppBar(
          title: new Text('Welcome to Flutter'),
        ),
        body: new Center(
          child: new Text('Hello World'),
        ),
      ),
    );
  }
}

リンク

How to remove slow mode banner in flutter on android emulator? - Stack Overflow
https://stackoverflow.com/questions/48893935/how-to-remove-slow-mode-banner-in-flutter-on-android-emulator

Why not register and get more from Qiita?
  1. We will deliver articles that match you
    By following users and tags, you can catch up information on technical fields that you are interested in as a whole
  2. you can read useful information later efficiently
    By "stocking" the articles you like, you can search right away