Skip to content

Commit 8c2d87c

Browse files
authored
Update README.md
1 parent cff6d04 commit 8c2d87c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -298,8 +298,8 @@ class _ExampleWidgetState extends State<ExampleWidget> {
298298
}
299299
300300
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
303303
print(
304304
'Device pixel density:${ScreenUtil.pixelRatio}'); //Device pixel density
305305
print(

0 commit comments

Comments
 (0)