Showing
3 changed files
with
3 additions
and
3 deletions
| @@ -60,7 +60,7 @@ ScreenUtil.init(context, width: 750, height: 1334, allowFontScaling: true); | @@ -60,7 +60,7 @@ ScreenUtil.init(context, width: 750, height: 1334, allowFontScaling: true); | ||
| 60 | 60 | ||
| 61 | ### Use: | 61 | ### Use: |
| 62 | 62 | ||
| 63 | -#### API | 63 | +### API |
| 64 | 64 | ||
| 65 | ```dart | 65 | ```dart |
| 66 | ScreenUtil().setWidth(540) (sdk>=2.6 : 540.w) //Adapted to screen width | 66 | ScreenUtil().setWidth(540) (sdk>=2.6 : 540.w) //Adapted to screen width |
| @@ -64,7 +64,7 @@ ScreenUtil.init(context, width: 750, height: 1334, allowFontScaling: true); | @@ -64,7 +64,7 @@ ScreenUtil.init(context, width: 750, height: 1334, allowFontScaling: true); | ||
| 64 | 64 | ||
| 65 | ### 使用 | 65 | ### 使用 |
| 66 | 66 | ||
| 67 | -#### API | 67 | +### API |
| 68 | 68 | ||
| 69 | ```dart | 69 | ```dart |
| 70 | ScreenUtil().setWidth(540) (sdk>=2.6 : 540.w) //根据屏幕宽度适配尺寸 | 70 | ScreenUtil().setWidth(540) (sdk>=2.6 : 540.w) //根据屏幕宽度适配尺寸 |
| @@ -60,7 +60,7 @@ ScreenUtil.init(context, width: 750, height: 1334, allowFontScaling: true); | @@ -60,7 +60,7 @@ ScreenUtil.init(context, width: 750, height: 1334, allowFontScaling: true); | ||
| 60 | 60 | ||
| 61 | ### Uso: | 61 | ### Uso: |
| 62 | 62 | ||
| 63 | -#### API | 63 | +### API |
| 64 | 64 | ||
| 65 | ```dart | 65 | ```dart |
| 66 | ScreenUtil().setWidth(540) (sdk>=2.6 : 540.w) //Adapted to screen width | 66 | ScreenUtil().setWidth(540) (sdk>=2.6 : 540.w) //Adapted to screen width |
-
Please register or login to post a comment