Toggle navigation
Toggle navigation
This project
Loading...
Sign in
flutter_package
/
flutter_screenutil
Go to a project
Toggle navigation
Projects
Groups
Snippets
Help
Toggle navigation pinning
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Network
Create a new issue
Builds
Commits
Authored by
LiZhuoyuan
2020-12-08 19:40:12 +0800
Browse Files
Options
Browse Files
Download
Plain Diff
Committed by
GitHub
2020-12-08 19:40:12 +0800
Commit
0cdb64a221b2b2b954009e2068c1db32ccf811c0
0cdb64a2
2 parents
f716fefd
7711aa6c
Merge pull request #177 from flutterbest/patch-1
Update screenutil.dart
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 additions
and
1 deletions
lib/screenutil.dart
lib/screenutil.dart
View file @
0cdb64a
...
...
@@ -47,7 +47,7 @@ class ScreenUtil {
_screenWidth
=
constraints
.
maxWidth
;
_screenHeight
=
constraints
.
maxHeight
;
ui
.
Window
mediaQuery
=
ui
.
window
;
var
mediaQuery
=
ui
.
window
;
_pixelRatio
=
mediaQuery
.
devicePixelRatio
;
_statusBarHeight
=
mediaQuery
.
padding
.
top
;
_bottomBarHeight
=
mediaQuery
.
padding
.
bottom
;
...
...
Please
register
or
login
to post a comment