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:10:36 +0800
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Committed by
GitHub
2020-10-28 14:10:36 +0800
Commit
c712055acea100871873aedb2263679afc5eda15
c712055a
1 parent
9a9148ef
Update README_PT.md
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
6 deletions
README_PT.md
README_PT.md
View file @
c712055
...
...
@@ -74,12 +74,12 @@ ScreenUtil.init(context, designSize: Size(750, 1334), allowFontScaling: true);
ScreenUtil
().
setSp
(
24
,
allowFontScalingSelf:
true
)
(
sdk
>=
2.6
:
24
.
ssp
)
//Adapter font(fonts will scale to respect Text Size accessibility settings)
ScreenUtil
().
setSp
(
24
,
allowFontScalingSelf:
false
)
(
sdk
>=
2.6
:
24
.
nsp
)
//Adapter font(fonts will not scale to respect Text Size accessibility settings)
ScreenUtil
.
pixelRatio
//Device pixel density
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
.
textScaleFactor
//System font scaling factor
ScreenUtil
().
pixelRatio
//Device pixel density
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
().
textScaleFactor
//System font scaling factor
ScreenUtil
().
scaleWidth
//Ratio of actual width dp to design draft px
ScreenUtil
().
scaleHeight
//Ratio of actual height dp to design draft px
...
...
Please
register
or
login
to post a comment