flutter初见
This commit is contained in:
parent
065883b1cb
commit
e90194314c
BIN
images/flutter/android-studio_flutter插件.png
Normal file
BIN
images/flutter/android-studio_flutter插件.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 90 KiB |
BIN
images/flutter/flutter_demo.png
Normal file
BIN
images/flutter/flutter_demo.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 21 KiB |
BIN
images/flutter/flutter_doctor.png
Normal file
BIN
images/flutter/flutter_doctor.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 62 KiB |
BIN
images/flutter/创建flutter项目.png
Normal file
BIN
images/flutter/创建flutter项目.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 34 KiB |
26
source/_posts/flutter/Flutter初见.md
Normal file
26
source/_posts/flutter/Flutter初见.md
Normal file
@ -0,0 +1,26 @@
|
|||||||
|
---
|
||||||
|
title: Flutter初见
|
||||||
|
date: 2019-10-21 22:38:25
|
||||||
|
tags:
|
||||||
|
- flutter
|
||||||
|
- dart
|
||||||
|
categories:
|
||||||
|
- flutter
|
||||||
|
---
|
||||||
|
|
||||||
|
### 搭建开发环境
|
||||||
|
1. 下载解压Flutter的sdk,并且将其中的bin目录配置到环境变量
|
||||||
|
2. Android Studio安装安卓SDK,通常启动时如果未安装过都会自动执行下载安装
|
||||||
|
3. Android Studio安装Flutter的插件
|
||||||
|

|
||||||
|
安装flutter插件时会自动安装其依赖的dart插件
|
||||||
|
4. 在Android Studio的`AVD Manager`当中创建模拟器(需要选择屏幕尺寸以及安卓系统版本,当前系统中不存在的版本需要下载)
|
||||||
|
如果使用真机调试运行,该步骤可以跳过
|
||||||
|
|
||||||
|
|
||||||
|
执行`flutter doctor`可以检验当前环境当中存在的问题
|
||||||
|

|
||||||
|
可以看到IDEA也是支持的,但是我们不打算使用IDEA来进行开发,所以就不在IDEA当中安装插件了
|
||||||
|
No devices available代表还未启动虚拟机或者连接真机
|
||||||
|
其余几项都是校验通过的
|
||||||
|
|
||||||
@ -4,7 +4,7 @@ date: 2019-09-28 12:08:40
|
|||||||
tags:
|
tags:
|
||||||
- dart
|
- dart
|
||||||
categories:
|
categories:
|
||||||
- dart
|
- flutter
|
||||||
---
|
---
|
||||||
|
|
||||||
Flutter是谷歌推出的跨平台移动端开发框架
|
Flutter是谷歌推出的跨平台移动端开发框架
|
||||||
@ -4,7 +4,7 @@ date: 2019-10-06 21:08:37
|
|||||||
tags:
|
tags:
|
||||||
- dart
|
- dart
|
||||||
categories:
|
categories:
|
||||||
- dart
|
- flutter
|
||||||
---
|
---
|
||||||
|
|
||||||
### 函数相关
|
### 函数相关
|
||||||
Loading…
x
Reference in New Issue
Block a user