Showing
3 changed files
with
9 additions
and
4 deletions
@@ -34,7 +34,9 @@ import 'package:flutter_screenutil/flutter_screenutil.dart'; | @@ -34,7 +34,9 @@ import 'package:flutter_screenutil/flutter_screenutil.dart'; | ||
34 | 34 | ||
35 | |Property|Type|Default Value|Description| | 35 | |Property|Type|Default Value|Description| |
36 | |:---|:---|:---|:---| | 36 | |:---|:---|:---|:---| |
37 | -|designSize|Size|Size(360, 690)|The size of the device in the design draft, in dp| | 37 | +|designSize|Size|Size(360, 690)|The size of the device screen in the design draft, in dp| |
38 | +|builder|Widget Function()|Container()|Generally returning a Function of MaterialApp type| | ||
39 | +|orientation|Orientation|portrait|screen orientation| | ||
38 | 40 | ||
39 | ### Initialize and set the fit size and font size to scale according to the system's "font size" accessibility option | 41 | ### Initialize and set the fit size and font size to scale according to the system's "font size" accessibility option |
40 | Please set the size of the design draft before use, the width and height of the design draft. | 42 | Please set the size of the design draft before use, the width and height of the design draft. |
@@ -39,7 +39,9 @@ import 'package:flutter_screenutil/flutter_screenutil.dart'; | @@ -39,7 +39,9 @@ import 'package:flutter_screenutil/flutter_screenutil.dart'; | ||
39 | 39 | ||
40 | |属性|类型|默认值|描述| | 40 | |属性|类型|默认值|描述| |
41 | |:---|:---|:---|:---| | 41 | |:---|:---|:---|:---| |
42 | -|designSize|Size|Size(360, 690)|设计稿中设备的尺寸(单位随意,但在使用过程中必须保持一致)| | 42 | +|designSize|Size|Size(360, 690)|设计稿中设备的尺寸(单位随意,建议dp,但在使用过程中必须保持一致)| |
43 | +|builder|Widget Function()|Container()|一般返回一个MaterialApp类型的Function()| | ||
44 | +|orientation|Orientation|portrait|屏幕方向| | ||
43 | 45 | ||
44 | ### 初始化并设置适配尺寸及字体大小是否根据系统的“字体大小”辅助选项来进行缩放 | 46 | ### 初始化并设置适配尺寸及字体大小是否根据系统的“字体大小”辅助选项来进行缩放 |
45 | 在使用之前请设置好设计稿的宽度和高度,传入设计稿的宽度和高度(单位随意,但在使用过程中必须保持一致) | 47 | 在使用之前请设置好设计稿的宽度和高度,传入设计稿的宽度和高度(单位随意,但在使用过程中必须保持一致) |
@@ -36,8 +36,9 @@ import 'package:flutter_screenutil/flutter_screenutil.dart'; | @@ -36,8 +36,9 @@ import 'package:flutter_screenutil/flutter_screenutil.dart'; | ||
36 | 36 | ||
37 | |Propriedade|Tipo|Valor Padrão|Descrição| | 37 | |Propriedade|Tipo|Valor Padrão|Descrição| |
38 | |:---|:---|:---|:---| | 38 | |:---|:---|:---|:---| |
39 | -|width|double|360dp|A largura do dispositivo no protótipo de design, em dp| | ||
40 | -|height|double|690dp|A altura do dispositivo no protótipo de design, em dp| | 39 | +|designSize|Size|Size(360, 690)|The size of the device screen in the design draft, in dp| |
40 | +|builder|Widget Function()|Container()|Generally returning a Function of MaterialApp type| | ||
41 | +|orientation|Orientation|portrait|screen orientation| | ||
41 | 42 | ||
42 | ### 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 | 43 | ### 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 |
43 | Por favor, defina a largura e altura do protótipo de design antes de usar (em pixels). | 44 | 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