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
李卓原
2023-07-18 10:48:01 +0800
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
2467824edb0ea4ac8804fc57598293fcd64d4417
2467824e
1 parent
05c823c4
fix
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
4 additions
and
5 deletions
example/android/app/build.gradle
example/ios/Flutter/flutter_export_environment.sh
lib/src/screenutil_init.dart
example/android/app/build.gradle
View file @
2467824
...
...
@@ -26,7 +26,7 @@ apply plugin: 'kotlin-android'
apply
from:
"$flutterRoot/packages/flutter_tools/gradle/flutter.gradle"
android
{
compileSdkVersion
3
1
compileSdkVersion
3
3
sourceSets
{
main
.
java
.
srcDirs
+=
'src/main/kotlin'
...
...
example/ios/Flutter/flutter_export_environment.sh
View file @
2467824
...
...
@@ -3,12 +3,11 @@
export
"FLUTTER_ROOT=/Users/lizhuoyuan/fvm/versions/stable"
export
"FLUTTER_APPLICATION_PATH=/Users/lizhuoyuan/Development/Project/flutter_screenutil/example"
export
"COCOAPODS_PARALLEL_CODE_SIGN=true"
export
"FLUTTER_TARGET=
/Users/lizhuoyuan/Development/Project/flutter_screenutil/example/
lib/main.dart"
export
"FLUTTER_TARGET=lib/main.dart"
export
"FLUTTER_BUILD_DIR=build"
export
"FLUTTER_BUILD_NAME=1.0.0"
export
"FLUTTER_BUILD_NUMBER=1"
export
"DART_DEFINES=RkxVVFRFUl9XRUJfQVVUT19ERVRFQ1Q9dHJ1ZQ==,RkxVVFRFUl9XRUJfQ0FOVkFTS0lUX1VSTD1odHRwczovL3d3dy5nc3RhdGljLmNvbS9mbHV0dGVyLWNhbnZhc2tpdC85MGZhM2FlMjhmZTZkZGFlZTFhZjJjMTIwZjAxZTUwMjAxYzE0MDFiLw=="
export
"DART_OBFUSCATION=false"
export
"TRACK_WIDGET_CREATION=true"
export
"TREE_SHAKE_ICONS=false"
export
"PACKAGE_CONFIG=
/Users/lizhuoyuan/Development/Project/flutter_screenutil/example/
.dart_tool/package_config.json"
export
"PACKAGE_CONFIG=.dart_tool/package_config.json"
...
...
lib/src/screenutil_init.dart
View file @
2467824
...
...
@@ -49,7 +49,7 @@ abstract class FontSizeResolvers {
return
instance
.
setHeight
(
fontSize
);
}
static
double
rad
ui
s
(
num
fontSize
,
ScreenUtil
instance
)
{
static
double
rad
iu
s
(
num
fontSize
,
ScreenUtil
instance
)
{
return
instance
.
radius
(
fontSize
);
}
...
...
Please
register
or
login
to post a comment