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
2020-10-28 14:04:36 +0800
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Committed by
GitHub
2020-10-28 14:04:36 +0800
Commit
47933b5e4a7e7de0e7353264244b4eba1b238e0a
47933b5e
1 parent
717dc1ad
Update README_CN.md
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 additions
and
1 deletions
README_CN.md
README_CN.md
View file @
47933b5
...
...
@@ -82,7 +82,7 @@ ScreenUtil.init(context, designSize: Size(750, 1334), allowFontScaling: true);
ScreenUtil
.
screenWidth
(
sdk
>=
2.6
:
1
.
sw
)
//设备宽度
ScreenUtil
.
screenHeight
(
sdk
>=
2.6
:
1
.
sh
)
//设备高度
ScreenUtil
.
bottomBarHeight
//底部安全区距离,适用于全面屏下面有按键的
ScreenUtil
.
statusBarHeight
//状态栏高度 刘海屏会更高 单位
px
ScreenUtil
.
statusBarHeight
//状态栏高度 刘海屏会更高 单位
dp
ScreenUtil
.
textScaleFactor
//系统字体缩放比例
ScreenUtil
().
scaleWidth
// 实际宽度的dp与设计稿px的比例
...
...
Please
register
or
login
to post a comment