Skip to content

Commit 400f0ed

Browse files
committed
feat: 增加快速入门章大纲
1 parent 4ca4231 commit 400f0ed

11 files changed

Lines changed: 63 additions & 1 deletion

File tree

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
# 第一个Dart程序
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
# 第一个Flutter程序
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
# 使用DartPad初体验
Lines changed: 37 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,37 @@
1+
# 安装Flutter SDK
2+
3+
## 下载Flutter SDK
4+
5+
在计划存放Flutter SDK的目录运行
6+
7+
```shell
8+
git clone -b stable https://mirrors.tuna.tsinghua.edu.cn/git/flutter-sdk.git
9+
```
10+
11+
## 配置环境变量
12+
13+
```shell
14+
export FLUTTER_STORAGE_BASE_URL="https://mirrors.tuna.tsinghua.edu.cn/flutter"
15+
export PUB_HOSTED_URL="https://mirrors.tuna.tsinghua.edu.cn/dart-pub"
16+
export FLUTTER_GIT_URL="https://mirrors.tuna.tsinghua.edu.cn/git/flutter-sdk.git"
17+
```
18+
19+
### Windows
20+
21+
(TODO:张玉佳补充)
22+
23+
https://docs.flutter.dev/get-started/install/windows#update-your-path
24+
25+
### macOS
26+
27+
https://docs.flutter.dev/get-started/install/macos#update-your-path
28+
29+
## 检查Flutter配置
30+
31+
```shell
32+
flutter doctor
33+
```
34+
35+
## 参考资料
36+
37+
- 清华大学开源软件镜像站提供的[Flutter镜像安装帮助](https://mirrors.tuna.tsinghua.edu.cn/help/flutter/)
Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
# 安装Android Studio
2+
3+
## TODO
4+
5+
## 配置Dart SDK位置
6+
7+
(TODO:张玉佳补充)
8+
9+
## 运行
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
# 修复Flutter配置
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
# 安装Flutter
Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
# 本地开发工具
2+
3+
Flutter是一个跨平台的移动应用开发框架,可以用来开发安卓和 iOS 等移动平台的应用。
4+
5+
要使用Flutter,需要先在你的电脑上安装 Flutter SDK,然后还需要安装一个可以用来开发 Flutter 应用的开发工具,如 Android Studio 或 Visual Studio Code。
6+
7+
安装完成后,你可以使用开发工具创建一个新的 Flutter 项目,然后就可以开始编写 Flutter 代码了。
8+
9+
Flutter 使用 Dart 语言开发,所以如果你想学习 Flutter 开发,可以先学习一下 Dart 语言。
10+
11+
你可以在 Flutter 的官方文档中了解更多关于 Flutter 的使用方法:https://flutter.dev/docs
File renamed without changes.

1_quick_start/README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
# 快速入门

0 commit comments

Comments
 (0)