Committed by
GitHub
Merge pull request #5 from sidrao2006/docs
dart doesn't use @param
Showing
1 changed file
with
3 additions
and
3 deletions
| @@ -110,10 +110,10 @@ class ScreenUtil { | @@ -110,10 +110,10 @@ class ScreenUtil { | ||
| 110 | double setHeight(num height) => height * scaleHeight; | 110 | double setHeight(num height) => height * scaleHeight; |
| 111 | 111 | ||
| 112 | ///字体大小适配方法 | 112 | ///字体大小适配方法 |
| 113 | - ///@param [fontSize] UI设计上字体的大小,单位px. | 113 | + ///- [fontSize] UI设计上字体的大小,单位px. |
| 114 | ///Font size adaptation method | 114 | ///Font size adaptation method |
| 115 | - ///@param [fontSize] The size of the font on the UI design, in px. | ||
| 116 | - ///@param [allowFontScaling] | 115 | + ///- [fontSize] The size of the font on the UI design, in px. |
| 116 | + ///- [allowFontScaling] | ||
| 117 | double setSp(num fontSize, {bool allowFontScalingSelf}) => | 117 | double setSp(num fontSize, {bool allowFontScalingSelf}) => |
| 118 | allowFontScalingSelf == null | 118 | allowFontScalingSelf == null |
| 119 | ? (allowFontScaling | 119 | ? (allowFontScaling |
-
Please register or login to post a comment