安裝
添加環境變量
D:\Resource\flutter\bin\cache\dart-sdk\bin
安裝cli
pub global activate get_cli 1.7.1
flutter pub global activate get_cli
最新版本的1.7.1有bug,創建項目時回車無響應
添加環境變量
D:\Resource\flutter.pub-cache\bin
顯示當前 CLI 版本
get -v
更新 CLI
get update
使用
創建項目
get create project
創建頁面
get create page:home
創建新 controller
get create controller:dialogcontroller on home
創建新 view
get create view:dialogview on home
創建新 provider
get create provider:user on home
