![](https://img-blog.csdnimg.cn/img_convert/b37def2f2f148e487f0ae7b3891d3387.png)
image.png
class MyApp extends StatelessWidget {
@override
Widget build(BuildContext context) {
return MaterialApp(
debugShowCheckedModeBanner:false, // 加入这行代码,即可关闭'DEBUG'字样
title: 'Flutter Demo',
theme: ThemeData(
primarySwatch: Colors.orange,
visualDensity: VisualDensity.adaptivePlatformDensity,
),
home: MyHomePage(title: 'xxx'),
);
}
}