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 717dc1a commit 47933b5Copy full SHA for 47933b5
README_CN.md
@@ -82,7 +82,7 @@ ScreenUtil.init(context, designSize: Size(750, 1334), allowFontScaling: true);
82
ScreenUtil.screenWidth (sdk>=2.6 : 1.sw) //设备宽度
83
ScreenUtil.screenHeight (sdk>=2.6 : 1.sh) //设备高度
84
ScreenUtil.bottomBarHeight //底部安全区距离,适用于全面屏下面有按键的
85
- ScreenUtil.statusBarHeight //状态栏高度 刘海屏会更高 单位px
+ ScreenUtil.statusBarHeight //状态栏高度 刘海屏会更高 单位dp
86
ScreenUtil.textScaleFactor //系统字体缩放比例
87
88
ScreenUtil().scaleWidth // 实际宽度的dp与设计稿px的比例
0 commit comments