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-11-29 11:34:10 +0800
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Committed by
GitHub
2019-11-29 11:34:10 +0800
Commit
5a775c5a24cce93411f4aa49cc475059224dc2db
5a775c5a
1 parent
41b1d684
去掉textScaleFactory末尾的y
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
README.md
README.md
View file @
5a775c5
...
...
@@ -134,7 +134,7 @@ Column(
ScreenUtil
.
screenHeight
//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
y
//System font scaling factor
ScreenUtil
.
textScaleFactor
//System font scaling factor
ScreenUtil
.
getInstance
().
scaleWidth
//Ratio of actual width dp to design draft px
ScreenUtil
.
getInstance
().
scaleHeight
//Ratio of actual height dp to design draft px
...
...
@@ -227,7 +227,7 @@ import 'package:flutter_screenutil/flutter_screenutil.dart';
SizedBox
(
height:
ScreenUtil
.
getInstance
().
setHeight
(
100
),
),
Text
(
'System font scaling factor:
${ScreenUtil.textScaleFactor
y
}
'
),
Text
(
'System font scaling factor:
${ScreenUtil.textScaleFactor}
'
),
Column
(
crossAxisAlignment:
CrossAxisAlignment
.
start
,
children:
<
Widget
>[
...
...
Please
register
or
login
to post a comment