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-06-20 12:26:13 +0800
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Committed by
GitHub
2020-06-20 12:26:13 +0800
Commit
8c2d87c0b0b2c756d8f0b120b01374c0311e1149
8c2d87c0
1 parent
cff6d047
Update README.md
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
README.md
README.md
View file @
8c2d87c
...
...
@@ -298,8 +298,8 @@ class _ExampleWidgetState extends State<ExampleWidget> {
}
void
printScreenInformation
()
{
print
(
'Device width px:
${ScreenUtil.screenWidth}
'
);
//Device width
print
(
'Device height px:
${ScreenUtil.screenHeight}
'
);
//Device height
print
(
'Device width dp:
${ScreenUtil.screenWidth}
'
);
//Device width
print
(
'Device height dp:
${ScreenUtil.screenHeight}
'
);
//Device height
print
(
'Device pixel density:
${ScreenUtil.pixelRatio}
'
);
//Device pixel density
print
(
...
...
Please
register
or
login
to post a comment