Flutter去除右上角Debug標籤

void main(){ runApp(new MyApp()); } class MyApp extends StatefulWidget { @override _MyAppState createState() => new _MyAppState(); } class _MyAppState extends State<MyApp> { // This widget is the root of your application.
 @override Widget build(BuildContext context) { return new MaterialApp( title: new Text('My Application'), debugShowCheckedModeBanner: false,  // 設置這一屬性便可
      theme: new ThemeData( primarySwatch: Colors.blue, ), home: new SplashScreen(), routes: <String, WidgetBuilder> { '/splashscreen': (BuildContext context) => new SplashScreen(), '/conditions': (BuildContext context) => new TermsAndConditionsPage(), }, ); } } 
相關文章
相關標籤/搜索