From 3135afdebb72f61ef071915cac86fda0c6c0cd99 Mon Sep 17 00:00:00 2001 From: LiZhuoyuan Date: Fri, 11 Jan 2019 11:34:12 +0800 Subject: [PATCH] Update README_CN.md --- README_CN.md | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/README_CN.md b/README_CN.md index 0d5ca43..a84765f 100644 --- a/README_CN.md +++ b/README_CN.md @@ -47,9 +47,11 @@ import 'package:flutter_screenutil/flutter_screenutil.dart'; ``` //设置适配尺寸 (填入设计稿中设备的屏幕尺寸) 假如设计稿是按iPhone6的尺寸设计的(iPhone6 750*1334) -//设置字体大小是否根据系统的“字体大小”辅助选项来进行缩放 , 默认为 false - - ScreenUtil.instance = ScreenUtil(width: 750, height: 1334, allowFontScaling: true)..init(context); +//设置字体大小是否根据系统的“字体大小”辅助选项来进行缩放 , 默认为 false , 字体不随着系统的“字体大小”辅助选项来进行缩放 + ScreenUtil.instance = ScreenUtil()..init(context); + ScreenUtil.instance = ScreenUtil(width: 750, height: 1334)..init(context); + ScreenUtil.instance = ScreenUtil(width: 750, height: 1334, allowFontScaling: false)..init(context); + ``` ### 使用: