Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to create own Flutter Template

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>

like image 487
mohammed arshad Avatar asked Mar 11 '26 19:03

mohammed arshad


1 Answers

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

like image 138
Vandad Nahavandipoor Avatar answered Mar 13 '26 09:03

Vandad Nahavandipoor



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!