Flutter - Create a Flutter project

1.我是將專案建立於桌面上的。所以cd Desktop

flutter create my_app
之後你會在桌面上看到my_app資料夾在上面


2.開啟iOS的模擬器: open -a Simulator
到方才建立的my_app下:cd my_app
執行程式:flutter run
就可看到這支程式在手機是怎樣子了!
結果:



Comments

Popular posts from this blog

Go-VSCode -Autocomplete and Auto-import

Dart syntax - initSate,Build,deactive, Dispose