李卓原

merge 4.0.2+2

fix #186
  1 +# 5.0.0-nullsafety.1
  2 +- merge 4.0.2+2 #186
1 3
2 # 5.0.0-nullsafety.1 4 # 5.0.0-nullsafety.1
3 - merge 4.0.1 ,4.0.2 #183 5 - merge 4.0.1 ,4.0.2 #183
@@ -114,9 +114,9 @@ class ScreenUtil { @@ -114,9 +114,9 @@ class ScreenUtil {
114 double setSp(num fontSize, {bool? allowFontScalingSelf}) => 114 double setSp(num fontSize, {bool? allowFontScalingSelf}) =>
115 allowFontScalingSelf == null 115 allowFontScalingSelf == null
116 ? (allowFontScaling 116 ? (allowFontScaling
117 - ? (fontSize * scaleText)  
118 - : (fontSize * scaleText / _textScaleFactor)) 117 + ? (fontSize * scaleText) * _textScaleFactor
  118 + : (fontSize * scaleText))
119 : (allowFontScalingSelf 119 : (allowFontScalingSelf
120 - ? (fontSize * scaleText)  
121 - : (fontSize * scaleText / _textScaleFactor)); 120 + ? (fontSize * scaleText) * _textScaleFactor
  121 + : (fontSize * scaleText));
122 } 122 }
1 name: flutter_screenutil 1 name: flutter_screenutil
2 description: A flutter plugin for adapting screen and font size.Guaranteed to look good on different models 2 description: A flutter plugin for adapting screen and font size.Guaranteed to look good on different models
3 -version: 5.0.0-nullsafety.1 3 +version: 5.0.0-nullsafety.2
4 homepage: https://github.com/OpenFlutter/flutter_screenutil 4 homepage: https://github.com/OpenFlutter/flutter_screenutil
5 5
6 environment: 6 environment: