李卓原

merge 4.0.2+2

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