Flutter安装与配置

# 下载安装

Flutter SDK 或者使用Git从官方仓库下载

1
git clone -b dev https://github.com/flutter/flutter.git

下载解压

# 环境配置

1
2
3
4
5
6
7
8
9
export PUB_HOSTED_URL=https://pub.flutter-io.cn

export FLUTTER_STORAGE_BASE_URL=https://storage.flutter-io.cn

export PATH="$PWD/flutter/bin:$PATH"

# 不管
cd ./flutter
flutter doctor
使用 Hugo 构建
主题 StackJimmy 设计