0
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?

Flutterデバッグリボンを消す方法

0
Posted at

MaterialAppdebugShowCheckedModeBannerfalse にします。

// main.dart
class MyApp extends StatelessWidget {
  const MyApp({super.key});
  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      title: 'App',
      theme: AppTheme.light,
      home: const AuthGate(),
      debugShowCheckedModeBanner: false, // ← これだけ
    );
  }
}

スクリーンショットやデモ用に見た目を整えたいときに便利だとおもいます。
debugShowCheckedModeBanner: false の1行で、右上の DEBUG リボンを消せるので、簡単です。

0
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
0
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?