File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -33,8 +33,8 @@ import 'package:flutter_screenutil/flutter_screenutil.dart';
33
33
### Property
34
34
35
35
| Property| Type| Default Value| Description|
36
- | :---| :---| :---| :---|
37
- | designSize| Size| Size(1080, 1920)| The size of the ui design draft can be in any unit, but it must be consistent during use |
36
+ | :---| :---| :---| :---|
37
+ | designSize| Size| Size(1080, 1920)| The size of the device in the design draft, in px |
38
38
| allowFontScaling| bool| false| Sets whether the font size is scaled according to the system's "font size" assist option|
39
39
40
40
### Initialize and set the fit size and font size to scale according to the system's "font size" accessibility option
Original file line number Diff line number Diff line change @@ -39,7 +39,7 @@ import 'package:flutter_screenutil/flutter_screenutil.dart';
39
39
40
40
| 属性| 类型| 默认值| 描述|
41
41
| :---| :---| :---| :---|
42
- | designSize| Size| Size(1080, 1920)| 设计稿中设备的尺寸(单位随意,但在使用过程中必须保持一致 )|
42
+ | designSize| Size| Size(1080, 1920)| 设计稿中设备的尺寸(单位px )|
43
43
| allowFontScaling| bool| false| 设置字体大小是否根据系统的“字体大小”辅助选项来进行缩放|
44
44
45
45
### 初始化并设置适配尺寸及字体大小是否根据系统的“字体大小”辅助选项来进行缩放
You can’t perform that action at this time.
0 commit comments