Flutter Paas Dashboard
flutter config --enable-macos-desktop
如需在Web下运行,需要关闭chrome
的安全开关,步骤如下,参考链接: https://stackoverflow.com/questions/65630743/how-to-solve-flutter-web-api-cors-error-only-with-dart-code
# 跳转到flutter安装目录
rm -rf bin/cache/flutter_tools.stamp
编辑packages/flutter_tools/lib/src/web/chrome.dart
在'--disable-extensions',
后面添加'--disable-web-security',