You can use the --platforms
parameter to specify which platforms you want to create the app for (defaults to all of them). So, if you want to create an app for only android you would do something like the following:
flutter create --platforms android my_app
Note: the -i
and -a
parameters are for selecting the language used, not restricting which platforms are generated.
Lastly: It does seem that you can simply delete the undesired platform directories after they are generated.