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:08 +0800
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Committed by
GitHub
2020-10-28 14:04:08 +0800
Commit
717dc1ada66bd7935546339d64683b9273cba7ba
717dc1ad
1 parent
0aef18d3
Update README.md
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 additions
and
1 deletions
README.md
README.md
View file @
717dc1a
...
...
@@ -79,7 +79,7 @@ ScreenUtil.init(context, designSize: Size(750, 1334), allowFontScaling: true);
ScreenUtil
().
screenWidth
(
sdk
>=
2.6
:
1
.
sw
)
//Device width
ScreenUtil
().
screenHeight
(
sdk
>=
2.6
:
1
.
sh
)
//Device height
ScreenUtil
().
bottomBarHeight
//Bottom safe zone distance, suitable for buttons with full screen
ScreenUtil
().
statusBarHeight
//Status bar height , Notch will be higher Unit
px
ScreenUtil
().
statusBarHeight
//Status bar height , Notch will be higher Unit
dp
ScreenUtil
().
textScaleFactor
//System font scaling factor
ScreenUtil
().
scaleWidth
//Ratio of actual width dp to design draft px
...
...
Please
register
or
login
to post a comment