LiZhuoyuan
Committed by GitHub

Update README.md

@@ -298,8 +298,8 @@ class _ExampleWidgetState extends State<ExampleWidget> { @@ -298,8 +298,8 @@ class _ExampleWidgetState extends State<ExampleWidget> {
298 } 298 }
299 299
300 void printScreenInformation() { 300 void printScreenInformation() {
301 - print('Device width px:${ScreenUtil.screenWidth}'); //Device width  
302 - print('Device height px:${ScreenUtil.screenHeight}'); //Device height 301 + print('Device width dp:${ScreenUtil.screenWidth}'); //Device width
  302 + print('Device height dp:${ScreenUtil.screenHeight}'); //Device height
303 print( 303 print(
304 'Device pixel density:${ScreenUtil.pixelRatio}'); //Device pixel density 304 'Device pixel density:${ScreenUtil.pixelRatio}'); //Device pixel density
305 print( 305 print(