Skip to content

Commit

Permalink
优化example
Browse files Browse the repository at this point in the history
  • Loading branch information
lizhuoyuan committed Oct 17, 2018
1 parent 92a25c6 commit 85dfb48
Show file tree
Hide file tree
Showing 5 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -136,7 +136,7 @@ import 'package:flutter_screenutil/flutter_screenutil.dart';
),
],
),
Text('Device width${ScreenUtil.screenWidth}px'),
Text('Device width:${ScreenUtil.screenWidth}px'),
Text('Device height:${ScreenUtil.screenHeight}px'),
Text('Device pixel density:${ScreenUtil.pixelRatio}'),
Text('Bottom safe zone distance:${ScreenUtil.bottomBarHeight}px'),
Expand Down
2 changes: 1 addition & 1 deletion README_CN.md
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,7 @@ import 'package:flutter_screenutil/flutter_screenutil.dart';
),
],
),
Text('设备宽度${ScreenUtil.screenWidth}px'),
Text('设备宽度:${ScreenUtil.screenWidth}px'),
Text('设备高度:${ScreenUtil.screenHeight}px'),
Text('设备的像素密度:${ScreenUtil.pixelRatio}'),
Text('底部安全区距离:${ScreenUtil.bottomBarHeight}px'),
Expand Down
Binary file modified demo_en.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion example/lib/main.dart
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ class _MyHomePageState extends State<MyHomePage> {
),
],
),
Text('Device width${ScreenUtil.screenWidth}px'),
Text('Device width:${ScreenUtil.screenWidth}px'),
Text('Device height:${ScreenUtil.screenHeight}px'),
Text('Device pixel density:${ScreenUtil.pixelRatio}'),
Text('Bottom safe zone distance:${ScreenUtil.bottomBarHeight}px'),
Expand Down
2 changes: 1 addition & 1 deletion example/lib/main_zh.dart
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ class _MyHomePageState extends State<MyHomePage> {
),
],
),
Text('设备宽度${ScreenUtil.screenWidth}px'),
Text('设备宽度:${ScreenUtil.screenWidth}px'),
Text('设备高度:${ScreenUtil.screenHeight}px'),
Text('设备的像素密度:${ScreenUtil.pixelRatio}'),
Text('底部安全区距离:${ScreenUtil.bottomBarHeight}px'),
Expand Down

0 comments on commit 85dfb48

Please sign in to comment.