未验证 提交 8101020b 编写于 作者: L LiZhuoyuan 提交者: GitHub

Update README.md

上级 22653f0f
......@@ -66,6 +66,8 @@ ScreenUtil.init(width: 750, height: 1334, allowFontScaling: true); /
### API
#### Pass the px size of the design draft
```dart
ScreenUtil().setWidth(540) (sdk>=2.6 : 540.w) //Adapted to screen width
ScreenUtil().setHeight(200) (sdk>=2.6 : 200.h) //Adapted to screen height
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册