Skip to content

Commit 0cdb64a

Browse files
authored
Merge pull request #177 from flutterbest/patch-1
Update screenutil.dart
2 parents f716fef + 7711aa6 commit 0cdb64a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/screenutil.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ class ScreenUtil {
4747
_screenWidth = constraints.maxWidth;
4848
_screenHeight = constraints.maxHeight;
4949

50-
ui.Window mediaQuery = ui.window;
50+
var mediaQuery = ui.window;
5151
_pixelRatio = mediaQuery.devicePixelRatio;
5252
_statusBarHeight = mediaQuery.padding.top;
5353
_bottomBarHeight = mediaQuery.padding.bottom;

0 commit comments

Comments
 (0)