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-01-05 13:44:12 +0800
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
6ae0fcf0729d18d8a3d4b02a9a900093e4b41fe3
6ae0fcf0
1 parent
a21502d6
update readme
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
9 additions
and
8 deletions
README.md
README_CN.md
README_PT.md
example/ios/Flutter/flutter_export_environment.sh
README.md
View file @
6ae0fcf
...
...
@@ -46,9 +46,9 @@ void main() => runApp(MyApp());
class
MyApp
extends
StatelessWidget
{
@override
Widget
build
(
BuildContext
context
)
{
//Set the fit size (fill in the screen size of the device in the design
) If the design is based on the size of the iPhone6 (iPhone6 750*1334
)
//Set the fit size (fill in the screen size of the device in the design
,in dp
)
return
ScreenUtilInit
(
designSize:
Size
(
750
,
1334
),
designSize:
Size
(
360
,
690
),
allowFontScaling:
false
,
child:
MaterialApp
(
...
...
...
README_CN.md
View file @
6ae0fcf
...
...
@@ -54,9 +54,9 @@ void main() => runApp(MyApp());
class
MyApp
extends
StatelessWidget
{
@override
Widget
build
(
BuildContext
context
)
{
//设置适配尺寸 (填入设计稿中设备的屏幕尺寸
) 此处假如设计稿是按iPhone6的尺寸设计的(iPhone6 750*1334
)
//设置适配尺寸 (填入设计稿中设备的屏幕尺寸
,单位dp
)
return
ScreenUtilInit
(
designSize:
Size
(
750
,
1334
),
designSize:
Size
(
360
,
690
),
allowFontScaling:
false
,
child:
MaterialApp
(
...
...
...
README_PT.md
View file @
6ae0fcf
...
...
@@ -50,9 +50,9 @@ void main() => runApp(MyApp());
class
MyApp
extends
StatelessWidget
{
@override
Widget
build
(
BuildContext
context
)
{
//Preencha o tamanho da tela do dispositivo no protótipo de design
//Preencha o tamanho da tela do dispositivo no protótipo de design
, in dp
return
ScreenUtilInit
(
designSize:
Size
(
750
,
1334
),
designSize:
Size
(
360
,
690
),
allowFontScaling:
false
,
child:
MaterialApp
(
...
...
...
example/ios/Flutter/flutter_export_environment.sh
View file @
6ae0fcf
...
...
@@ -2,14 +2,15 @@
# This is a generated file; do not edit or check into version control.
export
"FLUTTER_ROOT=/Users/lizhuoyuan/Development/flutter"
export
"FLUTTER_APPLICATION_PATH=/Users/lizhuoyuan/Development/Project/flutter_screenutil/example"
export
"FLUTTER_TARGET=lib/main.dart"
export
"FLUTTER_TARGET=
/Users/lizhuoyuan/Development/Project/flutter_screenutil/example/
lib/main.dart"
export
"FLUTTER_BUILD_DIR=build"
export
"SYMROOT=
${
SOURCE_ROOT
}
/../build/ios"
export
"OTHER_LDFLAGS=
$(
inherited
)
-framework Flutter"
export
"FLUTTER_FRAMEWORK_DIR=/Users/lizhuoyuan/Development/flutter/bin/cache/artifacts/engine/ios"
export
"FLUTTER_BUILD_NAME=1.0.0"
export
"FLUTTER_BUILD_NUMBER=1"
export
"DART_DEFINES=flutter.inspector.structuredErrors%3Dtrue"
export
"DART_OBFUSCATION=false"
export
"TRACK_WIDGET_CREATION=
fals
e"
export
"TRACK_WIDGET_CREATION=
tru
e"
export
"TREE_SHAKE_ICONS=false"
export
"PACKAGE_CONFIG=.packages"
...
...
Please
register
or
login
to post a comment