Showing
5 changed files
with
4 additions
and
4 deletions
@@ -136,7 +136,7 @@ import 'package:flutter_screenutil/flutter_screenutil.dart'; | @@ -136,7 +136,7 @@ import 'package:flutter_screenutil/flutter_screenutil.dart'; | ||
136 | ), | 136 | ), |
137 | ], | 137 | ], |
138 | ), | 138 | ), |
139 | - Text('Device width:${ScreenUtil.screenWidth}px'), | 139 | + Text('Device width:${ScreenUtil.screenWidth}px'), |
140 | Text('Device height:${ScreenUtil.screenHeight}px'), | 140 | Text('Device height:${ScreenUtil.screenHeight}px'), |
141 | Text('Device pixel density:${ScreenUtil.pixelRatio}'), | 141 | Text('Device pixel density:${ScreenUtil.pixelRatio}'), |
142 | Text('Bottom safe zone distance:${ScreenUtil.bottomBarHeight}px'), | 142 | Text('Bottom safe zone distance:${ScreenUtil.bottomBarHeight}px'), |
@@ -137,7 +137,7 @@ import 'package:flutter_screenutil/flutter_screenutil.dart'; | @@ -137,7 +137,7 @@ import 'package:flutter_screenutil/flutter_screenutil.dart'; | ||
137 | ), | 137 | ), |
138 | ], | 138 | ], |
139 | ), | 139 | ), |
140 | - Text('设备宽度:${ScreenUtil.screenWidth}px'), | 140 | + Text('设备宽度:${ScreenUtil.screenWidth}px'), |
141 | Text('设备高度:${ScreenUtil.screenHeight}px'), | 141 | Text('设备高度:${ScreenUtil.screenHeight}px'), |
142 | Text('设备的像素密度:${ScreenUtil.pixelRatio}'), | 142 | Text('设备的像素密度:${ScreenUtil.pixelRatio}'), |
143 | Text('底部安全区距离:${ScreenUtil.bottomBarHeight}px'), | 143 | Text('底部安全区距离:${ScreenUtil.bottomBarHeight}px'), |
@@ -77,7 +77,7 @@ class _MyHomePageState extends State<MyHomePage> { | @@ -77,7 +77,7 @@ class _MyHomePageState extends State<MyHomePage> { | ||
77 | ), | 77 | ), |
78 | ], | 78 | ], |
79 | ), | 79 | ), |
80 | - Text('Device width:${ScreenUtil.screenWidth}px'), | 80 | + Text('Device width:${ScreenUtil.screenWidth}px'), |
81 | Text('Device height:${ScreenUtil.screenHeight}px'), | 81 | Text('Device height:${ScreenUtil.screenHeight}px'), |
82 | Text('Device pixel density:${ScreenUtil.pixelRatio}'), | 82 | Text('Device pixel density:${ScreenUtil.pixelRatio}'), |
83 | Text('Bottom safe zone distance:${ScreenUtil.bottomBarHeight}px'), | 83 | Text('Bottom safe zone distance:${ScreenUtil.bottomBarHeight}px'), |
@@ -77,7 +77,7 @@ class _MyHomePageState extends State<MyHomePage> { | @@ -77,7 +77,7 @@ class _MyHomePageState extends State<MyHomePage> { | ||
77 | ), | 77 | ), |
78 | ], | 78 | ], |
79 | ), | 79 | ), |
80 | - Text('设备宽度:${ScreenUtil.screenWidth}px'), | 80 | + Text('设备宽度:${ScreenUtil.screenWidth}px'), |
81 | Text('设备高度:${ScreenUtil.screenHeight}px'), | 81 | Text('设备高度:${ScreenUtil.screenHeight}px'), |
82 | Text('设备的像素密度:${ScreenUtil.pixelRatio}'), | 82 | Text('设备的像素密度:${ScreenUtil.pixelRatio}'), |
83 | Text('底部安全区距离:${ScreenUtil.bottomBarHeight}px'), | 83 | Text('底部安全区距离:${ScreenUtil.bottomBarHeight}px'), |
-
Please register or login to post a comment