LiZhuoyuan
Committed by GitHub

Update README.md

@@ -79,7 +79,7 @@ ScreenUtil.init(context, designSize: Size(750, 1334), allowFontScaling: true); @@ -79,7 +79,7 @@ ScreenUtil.init(context, designSize: Size(750, 1334), allowFontScaling: true);
79 ScreenUtil().screenWidth (sdk>=2.6 : 1.sw) //Device width 79 ScreenUtil().screenWidth (sdk>=2.6 : 1.sw) //Device width
80 ScreenUtil().screenHeight (sdk>=2.6 : 1.sh) //Device height 80 ScreenUtil().screenHeight (sdk>=2.6 : 1.sh) //Device height
81 ScreenUtil().bottomBarHeight //Bottom safe zone distance, suitable for buttons with full screen 81 ScreenUtil().bottomBarHeight //Bottom safe zone distance, suitable for buttons with full screen
82 - ScreenUtil().statusBarHeight //Status bar height , Notch will be higher Unit px 82 + ScreenUtil().statusBarHeight //Status bar height , Notch will be higher Unit dp
83 ScreenUtil().textScaleFactor //System font scaling factor 83 ScreenUtil().textScaleFactor //System font scaling factor
84 84
85 ScreenUtil().scaleWidth //Ratio of actual width dp to design draft px 85 ScreenUtil().scaleWidth //Ratio of actual width dp to design draft px