Showing
3 changed files
with
8 additions
and
0 deletions
@@ -64,6 +64,12 @@ import 'package:flutter_screenutil/flutter_screenutil.dart'; | @@ -64,6 +64,12 @@ import 'package:flutter_screenutil/flutter_screenutil.dart'; | ||
64 | <td>true</td> | 64 | <td>true</td> |
65 | <td>support for split screen</td> | 65 | <td>support for split screen</td> |
66 | </tr> | 66 | </tr> |
67 | + <tr> | ||
68 | + <td>minTextAdapt</td> | ||
69 | + <td>bool</td> | ||
70 | + <td>false</td> | ||
71 | + <td>Whether to adapt the text according to the minimum of width and height</td> | ||
72 | + </tr> | ||
67 | </table> | 73 | </table> |
68 | 74 | ||
69 | ### Initialize and set the fit size and font size to scale according to the system's "font size" accessibility option | 75 | ### Initialize and set the fit size and font size to scale according to the system's "font size" accessibility option |
@@ -45,6 +45,7 @@ import 'package:flutter_screenutil/flutter_screenutil.dart'; | @@ -45,6 +45,7 @@ import 'package:flutter_screenutil/flutter_screenutil.dart'; | ||
45 | |builder|Widget Function()|Container()|一般返回一个MaterialApp类型的Function()| | 45 | |builder|Widget Function()|Container()|一般返回一个MaterialApp类型的Function()| |
46 | |orientation|Orientation|portrait|屏幕方向| | 46 | |orientation|Orientation|portrait|屏幕方向| |
47 | |splitScreenMode|bool|true|支持分屏尺寸| | 47 | |splitScreenMode|bool|true|支持分屏尺寸| |
48 | +|minTextAdapt|bool|false|Whether to adapt the text according to the minimum of width and height| | ||
48 | 49 | ||
49 | ### 初始化并设置适配尺寸及字体大小是否根据系统的“字体大小”辅助选项来进行缩放 | 50 | ### 初始化并设置适配尺寸及字体大小是否根据系统的“字体大小”辅助选项来进行缩放 |
50 | 在使用之前请设置好设计稿的宽度和高度,传入设计稿的宽度和高度(单位随意,但在使用过程中必须保持一致) | 51 | 在使用之前请设置好设计稿的宽度和高度,传入设计稿的宽度和高度(单位随意,但在使用过程中必须保持一致) |
@@ -41,6 +41,7 @@ import 'package:flutter_screenutil/flutter_screenutil.dart'; | @@ -41,6 +41,7 @@ import 'package:flutter_screenutil/flutter_screenutil.dart'; | ||
41 | |designSize|Size|Size(360, 690)|The size of the device screen in the design draft, in dp| | 41 | |designSize|Size|Size(360, 690)|The size of the device screen in the design draft, in dp| |
42 | |builder|Widget Function()|Container()|Generally returning a Function of MaterialApp type| | 42 | |builder|Widget Function()|Container()|Generally returning a Function of MaterialApp type| |
43 | |orientation|Orientation|portrait|screen orientation| | 43 | |orientation|Orientation|portrait|screen orientation| |
44 | +|minTextAdapt|bool|false|Whether to adapt the text according to the minimum of width and height| | ||
44 | 45 | ||
45 | ### Inicialize e defina o tamanho de ajuste e tamanho da fonte para dimensionar de acordo com a opção "tamanho de fonte" na acessibilidade do sistema | 46 | ### Inicialize e defina o tamanho de ajuste e tamanho da fonte para dimensionar de acordo com a opção "tamanho de fonte" na acessibilidade do sistema |
46 | Por favor, defina a largura e altura do protótipo de design antes de usar (em pixels). | 47 | Por favor, defina a largura e altura do protótipo de design antes de usar (em pixels). |
-
Please register or login to post a comment