Skip to content

Commit

Permalink
去掉textScaleFactory末尾的y
Browse files Browse the repository at this point in the history
  • Loading branch information
lizhuoyuan authored Nov 29, 2019
1 parent 41b1d68 commit 5a775c5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.textScaleFactory //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
Expand Down Expand Up @@ -227,7 +227,7 @@ import 'package:flutter_screenutil/flutter_screenutil.dart';
SizedBox(
height: ScreenUtil.getInstance().setHeight(100),
),
Text('System font scaling factor:${ScreenUtil.textScaleFactory}'),
Text('System font scaling factor:${ScreenUtil.textScaleFactor}'),
Column(
crossAxisAlignment: CrossAxisAlignment.start,
children: <Widget>[
Expand Down

0 comments on commit 5a775c5

Please sign in to comment.