-
flutter packages pub publish --dry-run
-
上传的时候取消国内镜像
-
发布命令:flutter packages pub publish -v
-
验证是否可以访问外网 curl google.com
''' export https_proxy=http://127.0.0.1:1087 export http_proxy=http://127.0.0.1:1087 set https_proxy=https://127.0.0.1:1087 set http_proxy=http://127.0.0.1:1087 '''
windows
set http_proxy=127.0.0.1:1080
set https_proxy=127.0.0.1:1080
取消代理
unset http_proxy
unset https_proxy
- flutter channel 列出所有版本
- flutter channel dev 切换
- flutter config --enable-web
- flutter create . 开始创建web目录文件,执行完毕后,在项目中多了个一个web目录
- flutter run -d chrome
- flutter build web 打包web
- 颜色选择器
- 多项选择器联动问题
- 多语言可参考 flutter_picker