Skip to content

Commit abd30fe

Browse files
author
李卓原
committed
update README.md
1 parent c7829b2 commit abd30fe

File tree

3 files changed

+0
-32
lines changed

3 files changed

+0
-32
lines changed

README.md

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -56,18 +56,6 @@ class MyApp extends StatelessWidget {
5656
);
5757
}
5858
}
59-
60-
//fill in the screen size of the device in the design
61-
62-
//default value : width : 360dp , height:690dp , allowFontScaling:false
63-
ScreenUtil.init(constraints);
64-
65-
//The size of the equipment in the design draft(360,690)
66-
ScreenUtil.init(constraints, designSize: Size(360, 690));
67-
68-
//If you want to set the font size is scaled according to the system's "font size" assist option
69-
ScreenUtil.init(constraints, designSize: Size(360, 690), allowFontScaling: true);
70-
7159
```
7260

7361
### Use:

README_CN.md

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -64,16 +64,6 @@ class MyApp extends StatelessWidget {
6464
);
6565
}
6666
}
67-
68-
//默认 width : 360dp , height:690dp , allowFontScaling:false
69-
ScreenUtil.init(constraints);
70-
71-
//传入设计稿的尺寸(例如(360,690))
72-
ScreenUtil.init(constraints, designSize: Size(360,690));
73-
74-
//设置字体大小根据系统的“字体大小”辅助选项来进行缩放,默认为false
75-
ScreenUtil.init(constraints, designSize: Size(360,690), allowFontScaling: true);
76-
7767
```
7868

7969
### 使用

README_PT.md

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -60,16 +60,6 @@ class MyApp extends StatelessWidget {
6060
);
6161
}
6262
}
63-
64-
//Valor padrão: width : 360dp , height:690dp , allowFontScaling:false
65-
ScreenUtil.init(constraints);
66-
67-
//The size of the equipment in the design draft(360,690)
68-
ScreenUtil.init(constraints, designSize: Size(360,690));
69-
70-
//Se você quer definir que o tamanho da fonte seja ajustado de acordo com a opção "tamanho da fonte" na acessibilidade do sistema
71-
ScreenUtil.init(constraints, designSize: Size(360,690), allowFontScaling: true);
72-
7363
```
7464

7565
### Uso:

0 commit comments

Comments
 (0)