李卓原

update README.md

@@ -56,18 +56,6 @@ class MyApp extends StatelessWidget { @@ -56,18 +56,6 @@ class MyApp extends StatelessWidget {
56 ); 56 );
57 } 57 }
58 } 58 }
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 -  
71 ``` 59 ```
72 60
73 ### Use: 61 ### Use:
@@ -64,16 +64,6 @@ class MyApp extends StatelessWidget { @@ -64,16 +64,6 @@ class MyApp extends StatelessWidget {
64 ); 64 );
65 } 65 }
66 } 66 }
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 -  
77 ``` 67 ```
78 68
79 ### 使用 69 ### 使用
@@ -60,16 +60,6 @@ class MyApp extends StatelessWidget { @@ -60,16 +60,6 @@ class MyApp extends StatelessWidget {
60 ); 60 );
61 } 61 }
62 } 62 }
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 -  
73 ``` 63 ```
74 64
75 ### Uso: 65 ### Uso: