Showing
1 changed file
with
1 additions
and
1 deletions
@@ -91,7 +91,7 @@ ScreenUtil.init(designSize: Size(750, 1334), allowFontScaling: true); | @@ -91,7 +91,7 @@ ScreenUtil.init(designSize: Size(750, 1334), allowFontScaling: true); | ||
91 | ScreenUtil().scaleHeight //Ratio of actual height dp to design draft px | 91 | ScreenUtil().scaleHeight //Ratio of actual height dp to design draft px |
92 | 92 | ||
93 | 0.2.wp //0.2 times the screen width | 93 | 0.2.wp //0.2 times the screen width |
94 | - 0.5.hp //50% of screen width | 94 | + 0.5.hp //50% of screen height |
95 | ``` | 95 | ``` |
96 | 96 | ||
97 | #### Adapt screen size: | 97 | #### Adapt screen size: |
-
Please register or login to post a comment