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
李卓原
2021-11-24 10:41:43 +0800
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
0b9d78833f8d059aefb4937fd0e57dcce3fd3a18
0b9d7883
1 parent
4d393855
no message
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
5 additions
and
3 deletions
example/ios/Flutter/flutter_export_environment.sh
example/lib/main.dart
example/windows/flutter/generated_plugin_registrant.cc
example/windows/flutter/generated_plugin_registrant.h
example/ios/Flutter/flutter_export_environment.sh
View file @
0b9d788
...
...
@@ -5,7 +5,6 @@ export "FLUTTER_APPLICATION_PATH=/Users/lizhuoyuan/Development/Project/flutter_s
export
"COCOAPODS_PARALLEL_CODE_SIGN=true"
export
"FLUTTER_TARGET=lib/main.dart"
export
"FLUTTER_BUILD_DIR=build"
export
"SYMROOT=
${
SOURCE_ROOT
}
/../build/ios"
export
"FLUTTER_BUILD_NAME=1.0.0"
export
"FLUTTER_BUILD_NUMBER=1"
export
"DART_OBFUSCATION=false"
...
...
example/lib/main.dart
View file @
0b9d788
...
...
@@ -148,8 +148,7 @@ class _HomePageState extends State<HomePage> {
print
(
'Bottom safe zone distance dp:
${ScreenUtil().bottomBarHeight}
dp'
);
print
(
'Status bar height dp:
${ScreenUtil().statusBarHeight}
dp'
);
print
(
'The ratio of actual width to UI design:
${ScreenUtil().scaleWidth}
'
);
print
(
'The ratio of actual height to UI design:
${ScreenUtil().scaleHeight}
'
);
print
(
'The ratio of actual height to UI design:
${ScreenUtil().scaleHeight}
'
);
print
(
'System font scaling:
${ScreenUtil().textScaleFactor}
'
);
print
(
'0.5 times the screen width:
${0.5.sw}
dp'
);
print
(
'0.5 times the screen height:
${0.5.sh}
dp'
);
...
...
example/windows/flutter/generated_plugin_registrant.cc
View file @
0b9d788
...
...
@@ -2,6 +2,8 @@
// Generated file. Do not edit.
//
// clang-format off
#include "generated_plugin_registrant.h"
...
...
example/windows/flutter/generated_plugin_registrant.h
View file @
0b9d788
...
...
@@ -2,6 +2,8 @@
// Generated file. Do not edit.
//
// clang-format off
#ifndef GENERATED_PLUGIN_REGISTRANT_
#define GENERATED_PLUGIN_REGISTRANT_
...
...
Please
register
or
login
to post a comment