How to add Dart FileHeader with Android Studio

Viewed 19

I am trying to add file header in android studio with dart, able to add in java but not in the dart file. this is what i have done

for Dartfile

for java

1 Answers

From Android studio settings.

android studio settings

Go to Editor -> File and code templates -> File -> Dart File.

Then past this command there like in the photo and change your name.

enter image description here

Related