flutter|flutter mac 环境变量配置

【flutter|flutter mac 环境变量配置】open ~/.bash_profile

export FLUTTER_ROOT=/Applications/flutter
export PUB_HOSTED_URL=https://pub.flutter-io.cn
export FLUTTER_STORAGE_BASE_URL=https://storage.flutter-io.cn
export PATH=$PATH:$FLUTTER_ROOT/bin

source ~/.bash_profile

    推荐阅读