Is there a way to set default package in VS Code? (com.example.myproject) I can only do this in Android studio. So I used it to create a project and then I open it in VS Code.
I mean when creating via: (Ctrl+Shift+P ➡ New flutter project)
To change the default organization from com.example
to your own, perform the following steps:
Add the following line to the JSON list:
"dart.flutterCreateOrganization": "com.mydomain",
Save the file and create a new project
Your package name should be correct now and you can confirm it like this.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With