LiZhuoyuan
Committed by GitHub

Update README.md

@@ -66,6 +66,8 @@ ScreenUtil.init(width: 750, height: 1334, allowFontScaling: true); / @@ -66,6 +66,8 @@ ScreenUtil.init(width: 750, height: 1334, allowFontScaling: true); /
66 66
67 ### API 67 ### API
68 68
  69 +#### Pass the px size of the design draft
  70 +
69 ```dart 71 ```dart
70 ScreenUtil().setWidth(540) (sdk>=2.6 : 540.w) //Adapted to screen width 72 ScreenUtil().setWidth(540) (sdk>=2.6 : 540.w) //Adapted to screen width
71 ScreenUtil().setHeight(200) (sdk>=2.6 : 200.h) //Adapted to screen height 73 ScreenUtil().setHeight(200) (sdk>=2.6 : 200.h) //Adapted to screen height