We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent bb98d5d commit eea2cdcCopy full SHA for eea2cdc
lib/screenutil.dart
@@ -12,14 +12,14 @@ class ScreenUtil {
12
13
/// UI设计中手机尺寸 , px
14
/// Size of the phone in UI Design , px
15
- Size uiSize = defaultSize;
+ Size uiSize;
16
17
/// 控制字体是否要根据系统的“字体大小”辅助选项来进行缩放。默认值为false。
18
/// allowFontScaling Specifies whether fonts should scale to respect Text Size accessibility settings. The default is false.
19
- bool allowFontScaling = false;
+ bool allowFontScaling;
20
21
- static double _pixelRatio = 1;
22
- static double _textScaleFactor = 1;
+ static double _pixelRatio;
+ static double _textScaleFactor;
23
static double _screenWidth;
24
static double _screenHeight;
25
static double _statusBarHeight;
0 commit comments