Showing
2 changed files
with
3 additions
and
4 deletions
@@ -184,8 +184,7 @@ Container( | @@ -184,8 +184,7 @@ Container( | ||
184 | 184 | ||
185 | #### Adapter font: | 185 | #### Adapter font: |
186 | ``` dart | 186 | ``` dart |
187 | -//Incoming font size(The unit is the same as the unit at initialization), fonts will not scale to respect Text Size accessibility settings | ||
188 | -//(AllowallowFontScaling when initializing ScreenUtil) | 187 | +//Incoming font size(The unit is the same as the unit at initialization) |
189 | ScreenUtil().setSp(28) | 188 | ScreenUtil().setSp(28) |
190 | 28.sp | 189 | 28.sp |
191 | 190 |
@@ -180,8 +180,8 @@ Container( | @@ -180,8 +180,8 @@ Container( | ||
180 | 180 | ||
181 | #### Adaptar fonte: | 181 | #### Adaptar fonte: |
182 | ``` dart | 182 | ``` dart |
183 | -//Tamanho da fonte informado, em pixels, a fonte não irá dimensionar respeitando a opção "Tamanho de Fonte" nas configurações de acessibilidade | ||
184 | -//(allowFontScaling quando iniciar o ScreenUtil) | 183 | +//Tamanho da fonte informado, em dp |
184 | + | ||
185 | ScreenUtil().setSp(28) | 185 | ScreenUtil().setSp(28) |
186 | 186 | ||
187 | //Tamanho da fonte informado,em pixels,a fonte irá dimensionar respeitando a opção "Tamanho de Fonte" nas configurações de acessibilidade | 187 | //Tamanho da fonte informado,em pixels,a fonte irá dimensionar respeitando a opção "Tamanho de Fonte" nas configurações de acessibilidade |
-
Please register or login to post a comment