- 切换flutter版本:
flutter channel beta
(切回来:flutter channel stable
) - 使本机flutter支持web :
flutter config --enable-web
-
- 新建项目,必须在vscode等IDE里新建, 命令行新建的项目无web目录
- 在浏览器运行:
flutter run -d chrome
效果:
flutter web开发流程
最新推荐文章于 2024-05-13 18:24:20 发布
flutter channel beta
flutter channel stable
)flutter config --enable-web
flutter run -d chrome