简体   繁体   English

如何使用 Android Studio 添加 Dart FileHeader

[英]How to add Dart FileHeader with Android Studio

I am trying to add file header in android studio with dart, able to add in java but not in the dart file. 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这就是我所做的

对于 Dartfile

对于java

From Android studio settings.来自 Android 工作室设置。

安卓工作室设置

Go to Editor -> File and code templates -> File -> Dart File. Go 到编辑器 -> 文件和代码模板 -> 文件 -> Dart 文件。

Then past this command there like in the photo and change your name.然后像照片中一样通过这个命令并更改你的名字。

在此处输入图像描述

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM