Useful Flutter commands

When starting new Flutter projects with the flutter create project_name command, you might find yourself needing to manually remove certain platform folders.

Fortunately, there is a more efficient way to exclude platforms using the flutter config command.

If you do not want to disable these platforms globally you can use the following command instead: flutter create project_name --platforms=ios,android.

3 Likes