Reputation: 51
I am wondering if I could create my own flutter template. just like android Native having in android studio.
flutter having a template selection in command,
eg flutter create -t skeleton <project-name>
I have my own project structure and I want to add my custom template with that command just like
flutter create -t <my_custom_template> <project-name>
Upvotes: 3
Views: 1320
Reputation: 6127
Just a workaround for VS Code users.
We can:
(I think something similar can be done in Android Studio as well).
Upvotes: 0
Reputation: 1574
I don't think that's possible at the moment. The best way to go about it is to create a code snippet in Visual Studio Code or in Android Studio as explained in this video: https://www.youtube.com/watch?v=g93mls_EJmU&ab_channel=VandadNahavandipoor
Upvotes: 2