8
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 5 years have passed since last update.

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

Posted at

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

8
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
8
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?