LiZhuoyuan
Committed by GitHub

Update flutter_screenutil.dart

@@ -87,8 +87,8 @@ class ScreenUtil { @@ -87,8 +87,8 @@ class ScreenUtil {
87 87
88 ///字体大小适配方法 88 ///字体大小适配方法
89 ///@param fontSize 传入设计稿上字体的px , 89 ///@param fontSize 传入设计稿上字体的px ,
90 - ///@param allowFontScaling 控制字体是否要根据系统的“字体大小”辅助选项来进行缩放。默认值为true。  
91 - ///@param allowFontScaling Specifies whether fonts should scale to respect Text Size accessibility settings. The default is true. 90 + ///@param allowFontScaling 控制字体是否要根据系统的“字体大小”辅助选项来进行缩放。默认值为false。
  91 + ///@param allowFontScaling Specifies whether fonts should scale to respect Text Size accessibility settings. The default is false.
92 setSp(int fontSize) => allowFontScaling 92 setSp(int fontSize) => allowFontScaling
93 ? setWidth(fontSize) 93 ? setWidth(fontSize)
94 : setWidth(fontSize) / _textScaleFactor; 94 : setWidth(fontSize) / _textScaleFactor;