李卓原

update readme

@@ -46,9 +46,9 @@ void main() => runApp(MyApp()); @@ -46,9 +46,9 @@ void main() => runApp(MyApp());
46 class MyApp extends StatelessWidget { 46 class MyApp extends StatelessWidget {
47 @override 47 @override
48 Widget build(BuildContext context) { 48 Widget build(BuildContext context) {
49 - //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) 49 + //Set the fit size (fill in the screen size of the device in the design,in dp)
50 return ScreenUtilInit( 50 return ScreenUtilInit(
51 - designSize: Size(750, 1334), 51 + designSize: Size(360, 690),
52 allowFontScaling: false, 52 allowFontScaling: false,
53 child: MaterialApp( 53 child: MaterialApp(
54 ... 54 ...
@@ -54,9 +54,9 @@ void main() => runApp(MyApp()); @@ -54,9 +54,9 @@ void main() => runApp(MyApp());
54 class MyApp extends StatelessWidget { 54 class MyApp extends StatelessWidget {
55 @override 55 @override
56 Widget build(BuildContext context) { 56 Widget build(BuildContext context) {
57 - //设置适配尺寸 (填入设计稿中设备的屏幕尺寸) 此处假如设计稿是按iPhone6的尺寸设计的(iPhone6 750*1334) 57 + //设置适配尺寸 (填入设计稿中设备的屏幕尺寸,单位dp)
58 return ScreenUtilInit( 58 return ScreenUtilInit(
59 - designSize: Size(750, 1334), 59 + designSize: Size(360, 690),
60 allowFontScaling: false, 60 allowFontScaling: false,
61 child: MaterialApp( 61 child: MaterialApp(
62 ... 62 ...
@@ -50,9 +50,9 @@ void main() => runApp(MyApp()); @@ -50,9 +50,9 @@ void main() => runApp(MyApp());
50 class MyApp extends StatelessWidget { 50 class MyApp extends StatelessWidget {
51 @override 51 @override
52 Widget build(BuildContext context) { 52 Widget build(BuildContext context) {
53 - //Preencha o tamanho da tela do dispositivo no protótipo de design 53 + //Preencha o tamanho da tela do dispositivo no protótipo de design , in dp
54 return ScreenUtilInit( 54 return ScreenUtilInit(
55 - designSize: Size(750, 1334), 55 + designSize: Size(360, 690),
56 allowFontScaling: false, 56 allowFontScaling: false,
57 child: MaterialApp( 57 child: MaterialApp(
58 ... 58 ...
@@ -2,14 +2,15 @@ @@ -2,14 +2,15 @@
2 # This is a generated file; do not edit or check into version control. 2 # This is a generated file; do not edit or check into version control.
3 export "FLUTTER_ROOT=/Users/lizhuoyuan/Development/flutter" 3 export "FLUTTER_ROOT=/Users/lizhuoyuan/Development/flutter"
4 export "FLUTTER_APPLICATION_PATH=/Users/lizhuoyuan/Development/Project/flutter_screenutil/example" 4 export "FLUTTER_APPLICATION_PATH=/Users/lizhuoyuan/Development/Project/flutter_screenutil/example"
5 -export "FLUTTER_TARGET=lib/main.dart" 5 +export "FLUTTER_TARGET=/Users/lizhuoyuan/Development/Project/flutter_screenutil/example/lib/main.dart"
6 export "FLUTTER_BUILD_DIR=build" 6 export "FLUTTER_BUILD_DIR=build"
7 export "SYMROOT=${SOURCE_ROOT}/../build/ios" 7 export "SYMROOT=${SOURCE_ROOT}/../build/ios"
8 export "OTHER_LDFLAGS=$(inherited) -framework Flutter" 8 export "OTHER_LDFLAGS=$(inherited) -framework Flutter"
9 export "FLUTTER_FRAMEWORK_DIR=/Users/lizhuoyuan/Development/flutter/bin/cache/artifacts/engine/ios" 9 export "FLUTTER_FRAMEWORK_DIR=/Users/lizhuoyuan/Development/flutter/bin/cache/artifacts/engine/ios"
10 export "FLUTTER_BUILD_NAME=1.0.0" 10 export "FLUTTER_BUILD_NAME=1.0.0"
11 export "FLUTTER_BUILD_NUMBER=1" 11 export "FLUTTER_BUILD_NUMBER=1"
  12 +export "DART_DEFINES=flutter.inspector.structuredErrors%3Dtrue"
12 export "DART_OBFUSCATION=false" 13 export "DART_OBFUSCATION=false"
13 -export "TRACK_WIDGET_CREATION=false" 14 +export "TRACK_WIDGET_CREATION=true"
14 export "TREE_SHAKE_ICONS=false" 15 export "TREE_SHAKE_ICONS=false"
15 export "PACKAGE_CONFIG=.packages" 16 export "PACKAGE_CONFIG=.packages"