Toggle navigation
Toggle navigation
This project
Loading...
Sign in
flutter_package
/
flutter_screenutil
Go to a project
Toggle navigation
Projects
Groups
Snippets
Help
Toggle navigation pinning
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Network
Create a new issue
Builds
Commits
Authored by
LiZhuoyuan
2019-01-11 11:34:12 +0800
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Committed by
GitHub
2019-01-11 11:34:12 +0800
Commit
3135afdebb72f61ef071915cac86fda0c6c0cd99
3135afde
1 parent
0d17e92c
Update README_CN.md
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
3 deletions
README_CN.md
README_CN.md
View file @
3135afd
...
...
@@ -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);
```
### 使用:
...
...
Please
register
or
login
to post a comment