【问题标题】:The URL is appearing in the place of the website nameURL 出现在网站名称的位置
【发布时间】:2021-02-09 16:40:54
【问题描述】:

从 Android Studio 运行时:

托管后:

我希望我的网站名称出现在那个地方。 所以如果有人可以帮助我,谢谢!

【问题讨论】:

    标签: flutter dart flutter-web


    【解决方案1】:

    打开lib/web/index.html,查看<title></title>标签内容。并且还要确定MaterialApptitle 属性是否也设置了。

    【讨论】:

      【解决方案2】:

      需要设置 MaterialApp 的标题。像这样:

        MaterialApp(
            title: 'Welcome - Ajith'
      

      【讨论】:

        猜你喜欢
        • 2011-01-16
        • 2018-06-26
        • 1970-01-01
        • 1970-01-01
        • 1970-01-01
        • 2020-10-02
        • 2017-11-17
        • 1970-01-01
        • 2016-07-06
        相关资源
        最近更新 更多