Skip to content

Commit 8101020

Browse files
authored
Update README.md
1 parent 22653f0 commit 8101020

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -66,6 +66,8 @@ ScreenUtil.init(width: 750, height: 1334, allowFontScaling: true); /
6666

6767
### API
6868

69+
#### Pass the px size of the design draft
70+
6971
```dart
7072
ScreenUtil().setWidth(540) (sdk>=2.6 : 540.w) //Adapted to screen width
7173
ScreenUtil().setHeight(200) (sdk>=2.6 : 200.h) //Adapted to screen height

0 commit comments

Comments
 (0)