Showing
1 changed file
with
1 additions
and
1 deletions
@@ -94,7 +94,7 @@ ScreenUtil.init(designSize: Size(750, 1334), allowFontScaling: true); | @@ -94,7 +94,7 @@ ScreenUtil.init(designSize: Size(750, 1334), allowFontScaling: true); | ||
94 | ScreenUtil().scaleHeight // 实际高度的dp与设计稿px的比例 | 94 | ScreenUtil().scaleHeight // 实际高度的dp与设计稿px的比例 |
95 | 95 | ||
96 | 0.2.wp //屏幕宽度的0.2倍 | 96 | 0.2.wp //屏幕宽度的0.2倍 |
97 | - 0.5.hp //屏幕宽度的50% | 97 | + 0.5.hp //屏幕高度的50% |
98 | ``` | 98 | ``` |
99 | 99 | ||
100 | 100 |
-
Please register or login to post a comment