李卓原

README.md 4.0.0-beta

@@ -34,7 +34,7 @@ import 'package:flutter_screenutil/flutter_screenutil.dart'; @@ -34,7 +34,7 @@ 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(1080, 1920)|The size of the ui design draft can be in any unit, but it must be consistent during use| 37 +|designSize|Size|Size(1080, 1920)|The size of the device in the design draft, in px|
38 |allowFontScaling|bool|false|Sets whether the font size is scaled according to the system's "font size" assist option| 38 |allowFontScaling|bool|false|Sets whether the font size is scaled according to the system's "font size" assist option|
39 39
40 ### Initialize and set the fit size and font size to scale according to the system's "font size" accessibility option 40 ### Initialize and set the fit size and font size to scale according to the system's "font size" accessibility option
@@ -39,7 +39,7 @@ import 'package:flutter_screenutil/flutter_screenutil.dart'; @@ -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 |allowFontScaling|bool|false|设置字体大小是否根据系统的“字体大小”辅助选项来进行缩放| 43 |allowFontScaling|bool|false|设置字体大小是否根据系统的“字体大小”辅助选项来进行缩放|
44 44
45 ### 初始化并设置适配尺寸及字体大小是否根据系统的“字体大小”辅助选项来进行缩放 45 ### 初始化并设置适配尺寸及字体大小是否根据系统的“字体大小”辅助选项来进行缩放