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-09-22 20:36:34 +0800
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Committed by
GitHub
2020-09-22 20:36:34 +0800
Commit
a75e3e4408279a7be25c4f6510b71389297ed8c8
a75e3e44
1 parent
16d4d6df
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 @
a75e3e4
...
...
@@ -91,7 +91,7 @@ ScreenUtil.init(designSize: Size(750, 1334), allowFontScaling: true);
ScreenUtil
().
scaleHeight
//Ratio of actual height dp to design draft px
0.2
.
wp
//0.2 times the screen width
0.5
.
hp
//50% of screen
width
0.5
.
hp
//50% of screen
height
```
#### Adapt screen size:
...
...
Please
register
or
login
to post a comment