Showing
1 changed file
with
2 additions
and
2 deletions
| @@ -134,7 +134,7 @@ Column( | @@ -134,7 +134,7 @@ Column( | ||
| 134 | ScreenUtil.screenHeight //Device height | 134 | ScreenUtil.screenHeight //Device height |
| 135 | ScreenUtil.bottomBarHeight //Bottom safe zone distance, suitable for buttons with full screen | 135 | ScreenUtil.bottomBarHeight //Bottom safe zone distance, suitable for buttons with full screen |
| 136 | ScreenUtil.statusBarHeight //Status bar height , Notch will be higher Unit px | 136 | ScreenUtil.statusBarHeight //Status bar height , Notch will be higher Unit px |
| 137 | - ScreenUtil.textScaleFactory //System font scaling factor | 137 | + ScreenUtil.textScaleFactor //System font scaling factor |
| 138 | 138 | ||
| 139 | ScreenUtil.getInstance().scaleWidth //Ratio of actual width dp to design draft px | 139 | ScreenUtil.getInstance().scaleWidth //Ratio of actual width dp to design draft px |
| 140 | ScreenUtil.getInstance().scaleHeight //Ratio of actual height dp to design draft px | 140 | ScreenUtil.getInstance().scaleHeight //Ratio of actual height dp to design draft px |
| @@ -227,7 +227,7 @@ import 'package:flutter_screenutil/flutter_screenutil.dart'; | @@ -227,7 +227,7 @@ import 'package:flutter_screenutil/flutter_screenutil.dart'; | ||
| 227 | SizedBox( | 227 | SizedBox( |
| 228 | height: ScreenUtil.getInstance().setHeight(100), | 228 | height: ScreenUtil.getInstance().setHeight(100), |
| 229 | ), | 229 | ), |
| 230 | - Text('System font scaling factor:${ScreenUtil.textScaleFactory}'), | 230 | + Text('System font scaling factor:${ScreenUtil.textScaleFactor}'), |
| 231 | Column( | 231 | Column( |
| 232 | crossAxisAlignment: CrossAxisAlignment.start, | 232 | crossAxisAlignment: CrossAxisAlignment.start, |
| 233 | children: <Widget>[ | 233 | children: <Widget>[ |
-
Please register or login to post a comment