From c35e4b96405bd8afa084c38ac695f9cf11f1aef1 Mon Sep 17 00:00:00 2001 From: Aneesh Rao Date: Wed, 30 Sep 2020 11:06:33 +0530 Subject: [PATCH] dart doesn't use @param --- lib/screenutil.dart | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/lib/screenutil.dart b/lib/screenutil.dart index cb605cd..0d9d0ab 100644 --- a/lib/screenutil.dart +++ b/lib/screenutil.dart @@ -110,10 +110,10 @@ class ScreenUtil { num setHeight(num height) => height * scaleHeight; ///字体大小适配方法 - ///@param [fontSize] UI设计上字体的大小,单位px. + ///- [fontSize] UI设计上字体的大小,单位px. ///Font size adaptation method - ///@param [fontSize] The size of the font on the UI design, in px. - ///@param [allowFontScaling] + ///- [fontSize] The size of the font on the UI design, in px. + ///- [allowFontScaling] num setSp(num fontSize, {bool allowFontScalingSelf}) => allowFontScalingSelf == null ? (allowFontScaling