[英]How to change Android Studio Flutter comment color
I know how to change default color of usual comment我知道如何更改通常评论的默认颜色
but sometimes I can see the text color with []但有时我可以用 [] 看到文本颜色
[this text has a color] 【本文有颜色】
That's Dart way of showing that the text within the brackets are source code text and can have different color.这是显示括号内的文本是源代码文本并且可以具有不同颜色的 Dart 方式。 It's in monospace font.它是等宽字体。 It's the same as using <code>this is source text</code>
.这与使用<code>this is source text</code>
。
Under Documentation comment
(the comment starting with ///
) (equivalent to JavaDoc comment), but there is no way to change the color.在Documentation comment
(以///
开头的注释)(相当于 JavaDoc 注释)下,但无法更改颜色。
/// The method [buildForm] blah blah
is the same as是相同的
/// The method <code>buildForm</code> blah blah
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.