The projects created by Flutter by default use the swift language of iOS and the kotlin language of Android.
If your project uses OC or java, you can enter the following command in the terminal.
1.Android uses kotlin iOS uses Swift (default)flutter create -i swift -a kotlin flutter_example
当然这里也可以省略 指定swift和kotlin参数简写成下面命令
flutter create flutter_example
2.Android uses kotlin iOS uses OCflutter create -i objc -a kotlin flutter_example
3. Android uses java and iOS uses Swiftflutter create -i swift -a java flutter_example
4.Android uses java and iOS uses OC by defaultflutter create -i objc -a java flutter_example