Quantcast
Channel: Create a new app for either iOS or Android using Flutter - Stack Overflow
Viewing all articles
Browse latest Browse all 5

Answer by cjstehno for Create a new app for either iOS or Android using Flutter

$
0
0

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.


Viewing all articles
Browse latest Browse all 5

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>