We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent cff6d04 commit 8c2d87cCopy full SHA for 8c2d87c
README.md
@@ -298,8 +298,8 @@ class _ExampleWidgetState extends State<ExampleWidget> {
298
}
299
300
void printScreenInformation() {
301
- print('Device width px:${ScreenUtil.screenWidth}'); //Device width
302
- print('Device height px:${ScreenUtil.screenHeight}'); //Device height
+ print('Device width dp:${ScreenUtil.screenWidth}'); //Device width
+ print('Device height dp:${ScreenUtil.screenHeight}'); //Device height
303
print(
304
'Device pixel density:${ScreenUtil.pixelRatio}'); //Device pixel density
305
0 commit comments