How To Create AndroidX Project Via Terminal


How do I create a new flutter Androidx application in visual studio code via the terminal. I have tried to look up the information online but there’s so many flags in the command that it confuses me. I want my flutter androidx app to support both android and ios, please advise me on the command I should use together with the correct flags

@akashh The command is very simple actually, it’s as follows:

flutter create --androidx <project-name>

For eg:

flutter create --androidx my_first_app

Basically, itis just the Flutter create command with androidx flag.