---
# System prepended metadata

title: 『Flutter』 Debug標誌刪除
tags: [Flutter]

---

#  『Flutter』 Debug標誌刪除


debugShowCheckedModeBanner : false


```=
import 'package:flutter/material.dart';

void main() => runApp(MyApp());

class MyApp extends StatelessWidget {
  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      title: 'FlutTube',
      theme: ThemeData(
        primarySwatch: Colors.blue,
      ),
      debugShowCheckedModeBanner: false, // 去除右上方Debug標誌
      home: ,
    );
  }
}
```


###### tags: `Flutter`