flutter create app    // 建立"app"為名稱的flutter專案cd app                // 更換目錄至"app"專案flutter doctor        // 檢查電腦上的Flutter環境flutter run           // 啟動Flutter APPflutter pub get       // 從"pubspec.yaml"安裝套件flutter package get   // 從"pubspec.yaml"安裝套件flutter upgrade       // 升級flutter中的套件版本flutter build appbundle  // 建立可上傳到Play商店的bundle fileflutter build apk     // 建立透過傳送或下載至手機SD卡安裝的APK(不能上架商店)r                     // hot reload(即時同步程式碼到APP畫面中)
R // hot restart(重新啟動APP)
#flutter pub get和flutter package get功能是一樣的,選一個即可

Written by

Machine Learning / Deep Learning / Python / Flutter cakeresume.com/yanwei-liu

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store