首页 > 解决方案 > 如何使用 https 在本地运行 Flutter Web 应用程序?

问题描述

我为 web构建了颤振应用程序。并且能够使用以下命令启动应用程序。

flutter run -d chrome

但是上面的命令在 chrome 中启动我的 web 应用程序http://localhost:59111。我需要在 https:// 中测试 Web 应用程序,而不是使用 http://

谁能建议我使用 https://localhost 启动 Web 应用程序。

标签: flutterflutter-webflutter-test

解决方案


推荐阅读