美文网首页
去掉debug图标

去掉debug图标

作者: 代码小王子 | 来源:发表于2020-10-13 09:41 被阅读0次
    class MyApp extends StatelessWidget {
      // This widget is the root of your application.
      @override
      Widget build(BuildContext context) {
        return MaterialApp(
          debugShowCheckedModeBanner: false, // 去掉debug图标
          title: 'Flutter Demo',
          theme: ThemeData(
            primarySwatch: Colors.blue,
            visualDensity: VisualDensity.adaptivePlatformDensity,
          ),
          home: Tabs(
            title: 'wn'
          ),
        );
      }
    }

    相关文章

      网友评论

          本文标题:去掉debug图标

          本文链接:https://www.haomeiwen.com/subject/vxompktx.html