File tree Expand file tree Collapse file tree 3 files changed +7
-5
lines changed Expand file tree Collapse file tree 3 files changed +7
-5
lines changed Original file line number Diff line number Diff line change
1
+ # 5.0.0-nullsafety.1
2
+ - merge 4.0.2+2 #186
1
3
2
4
# 5.0.0-nullsafety.1
3
5
- merge 4.0.1 ,4.0.2 #183
Original file line number Diff line number Diff line change @@ -114,9 +114,9 @@ class ScreenUtil {
114
114
double setSp (num fontSize, {bool ? allowFontScalingSelf}) =>
115
115
allowFontScalingSelf == null
116
116
? (allowFontScaling
117
- ? (fontSize * scaleText)
118
- : (fontSize * scaleText / _textScaleFactor ))
117
+ ? (fontSize * scaleText) * _textScaleFactor
118
+ : (fontSize * scaleText))
119
119
: (allowFontScalingSelf
120
- ? (fontSize * scaleText)
121
- : (fontSize * scaleText / _textScaleFactor ));
120
+ ? (fontSize * scaleText) * _textScaleFactor
121
+ : (fontSize * scaleText));
122
122
}
Original file line number Diff line number Diff line change 1
1
name : flutter_screenutil
2
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
4
homepage : https://github.com/OpenFlutter/flutter_screenutil
5
5
6
6
environment :
You can’t perform that action at this time.
0 commit comments