Flutter默認創(chuàng)建的項目使用的是iOS的swift和android 的kotlin語言。
如果你的項目使用的是OC或者是java可以中斷輸入下面的命令
1.android 使用kotlin iOS使用Swift默認
flutter create -i swift -a kotlin flutter_example
2.android 使用kotlin iOS使用OC
flutter create -i objc -a kotlin flutter_example
3.android 使用java iOS使用Swift
flutter create -i swift -a java flutter_example
4.android 使用java iOS使用OC默認
flutter create -i objc -a java flutter_example