Flutter默认创建的项目使用的是iOS的swift和android 的kotlin语言。
如果你的项目使用的是OC或者是java可以终端输入下面的命令。
1.android 使用kotlin iOS使用Swift(默认)flutter create -i swift -a kotlin flutter_example
当然这里也可以省略 指定swift和kotlin参数简写成下面命令
flutter create flutter_example
2.android 使用kotlin iOS使用OCflutter create -i objc -a kotlin flutter_example
3.android 使用java iOS使用Swiftflutter create -i swift -a java flutter_example
4.android 使用java iOS使用OC默认flutter create -i objc -a java flutter_example