Skip to content

Commit

Permalink
update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
李卓原 committed Jan 5, 2021
1 parent c7829b2 commit abd30fe
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 32 deletions.
12 changes: 0 additions & 12 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -56,18 +56,6 @@ class MyApp extends StatelessWidget {
);
}
}
//fill in the screen size of the device in the design
//default value : width : 360dp , height:690dp , allowFontScaling:false
ScreenUtil.init(constraints);
//The size of the equipment in the design draft(360,690)
ScreenUtil.init(constraints, designSize: Size(360, 690));
//If you want to set the font size is scaled according to the system's "font size" assist option
ScreenUtil.init(constraints, designSize: Size(360, 690), allowFontScaling: true);
```

### Use:
Expand Down
10 changes: 0 additions & 10 deletions README_CN.md
Original file line number Diff line number Diff line change
Expand Up @@ -64,16 +64,6 @@ class MyApp extends StatelessWidget {
);
}
}
//默认 width : 360dp , height:690dp , allowFontScaling:false
ScreenUtil.init(constraints);
//传入设计稿的尺寸(例如(360,690))
ScreenUtil.init(constraints, designSize: Size(360,690));
//设置字体大小根据系统的“字体大小”辅助选项来进行缩放,默认为false
ScreenUtil.init(constraints, designSize: Size(360,690), allowFontScaling: true);
```

### 使用
Expand Down
10 changes: 0 additions & 10 deletions README_PT.md
Original file line number Diff line number Diff line change
Expand Up @@ -60,16 +60,6 @@ class MyApp extends StatelessWidget {
);
}
}
//Valor padrão: width : 360dp , height:690dp , allowFontScaling:false
ScreenUtil.init(constraints);
//The size of the equipment in the design draft(360,690)
ScreenUtil.init(constraints, designSize: Size(360,690));
//Se você quer definir que o tamanho da fonte seja ajustado de acordo com a opção "tamanho da fonte" na acessibilidade do sistema
ScreenUtil.init(constraints, designSize: Size(360,690), allowFontScaling: true);
```

### Uso:
Expand Down

0 comments on commit abd30fe

Please sign in to comment.