quick start flutter environment

main
Yik Teng Hie 5 years ago
parent 77ef036cf5
commit 00c594ca77

@ -31,7 +31,7 @@ Quick guide on how to get started with common Frontend and Backend framework
* [vueJS](./frontend/vueJS/README.md)
* [nextJS](./frontend/nextJS/README.md)
* mobile (cross platform)
* [Flutter](https://flutter.dev/)
* [Flutter](./mobile/flutter/README.md)
* Dart - similarity to Java / C# syntax
* By Google
* [React Native](https://reactnative.dev/)

@ -0,0 +1,34 @@
# Setup Flutter
[Reference](https://flutter.dev/docs/get-started/install)
* Download [Flutter SDK](https://flutter.dev/docs/get-started/install)
* Unzip to `C:\tools`
* Add to environment path `C:\tools\flutter\bin`
* Install [Android Studio](https://developer.android.com/studio)
* Create Android Virtual Device (AVD) with API 29
* API 30 not supported
* Add `vs code` plugin
* Flutter
## Create flutter app
Bootstrap a project
```sh
$ flutter create myapp
$ cd myapp
```
Launch AVD using Android Studio
Run the app
```sh
// check AVD connectivity
$ flutter devices
// run the app
$ flutter run
```
Loading…
Cancel
Save