Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
lizhuoyuan committed Apr 15, 2021
1 parent e98440e commit 2b88799
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
3 changes: 1 addition & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -184,8 +184,7 @@ Container(

#### Adapter font:
``` dart
//Incoming font size(The unit is the same as the unit at initialization), fonts will not scale to respect Text Size accessibility settings
//(AllowallowFontScaling when initializing ScreenUtil)
//Incoming font size(The unit is the same as the unit at initialization)
ScreenUtil().setSp(28)
28.sp
Expand Down
4 changes: 2 additions & 2 deletions README_PT.md
Original file line number Diff line number Diff line change
Expand Up @@ -180,8 +180,8 @@ Container(

#### Adaptar fonte:
``` dart
//Tamanho da fonte informado, em pixels, a fonte não irá dimensionar respeitando a opção "Tamanho de Fonte" nas configurações de acessibilidade
//(allowFontScaling quando iniciar o ScreenUtil)
//Tamanho da fonte informado, em dp
ScreenUtil().setSp(28)
//Tamanho da fonte informado,em pixels,a fonte irá dimensionar respeitando a opção "Tamanho de Fonte" nas configurações de acessibilidade
Expand Down

0 comments on commit 2b88799

Please sign in to comment.