Showing
5 changed files
with
13 additions
and
7 deletions
1 | +# This branch is suitable for the beta version of flutter | ||
1 | 2 | ||
2 | # flutter_screenutil | 3 | # flutter_screenutil |
3 | [](https://pub.dartlang.org/packages/flutter_screenutil) | 4 | [](https://pub.dartlang.org/packages/flutter_screenutil) |
1 | +# This branch is suitable for the beta version of flutter | ||
1 | 2 | ||
2 | # flutter_screenutil | 3 | # flutter_screenutil |
3 | [](https://pub.dartlang.org/packages/flutter_screenutil) | 4 | [](https://pub.dartlang.org/packages/flutter_screenutil) |
1 | #!/bin/sh | 1 | #!/bin/sh |
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" | ||
4 | -export "FLUTTER_APPLICATION_PATH=/Users/lizhuoyuan/Development/Project/flutter_screenutil/example" | ||
5 | -export "FLUTTER_TARGET=lib/main.dart" | 3 | +export "FLUTTER_ROOT=D:\Develop\flutter" |
4 | +export "FLUTTER_APPLICATION_PATH=D:\Develop\Project\flutter_screenutil\example" | ||
5 | +export "FLUTTER_TARGET=lib\main.dart" | ||
6 | export "FLUTTER_BUILD_DIR=build" | 6 | export "FLUTTER_BUILD_DIR=build" |
7 | -export "SYMROOT=${SOURCE_ROOT}/../build/ios" | ||
8 | -export "FLUTTER_FRAMEWORK_DIR=/Users/lizhuoyuan/Development/flutter/bin/cache/artifacts/engine/ios" | 7 | +export "SYMROOT=${SOURCE_ROOT}/../build\ios" |
8 | +export "OTHER_LDFLAGS=$(inherited) -framework Flutter" | ||
9 | +export "FLUTTER_FRAMEWORK_DIR=D:\Develop\flutter\bin\cache\artifacts\engine\ios" | ||
9 | export "FLUTTER_BUILD_NAME=1.0.0" | 10 | export "FLUTTER_BUILD_NAME=1.0.0" |
10 | export "FLUTTER_BUILD_NUMBER=1" | 11 | export "FLUTTER_BUILD_NUMBER=1" |
@@ -4,7 +4,9 @@ import 'package:example/text_style.dart'; | @@ -4,7 +4,9 @@ import 'package:example/text_style.dart'; | ||
4 | import 'package:flutter/material.dart'; | 4 | import 'package:flutter/material.dart'; |
5 | import 'package:flutter_screenutil/flutter_screenutil.dart'; | 5 | import 'package:flutter_screenutil/flutter_screenutil.dart'; |
6 | 6 | ||
7 | -void main() => runApp(MyApp()); | 7 | +void main() { |
8 | + runApp(MyApp()); | ||
9 | +} | ||
8 | 10 | ||
9 | class MyApp extends StatelessWidget { | 11 | class MyApp extends StatelessWidget { |
10 | @override | 12 | @override |
@@ -41,7 +43,7 @@ class ExampleWidget extends StatefulWidget { | @@ -41,7 +43,7 @@ class ExampleWidget extends StatefulWidget { | ||
41 | class _ExampleWidgetState extends State<ExampleWidget> { | 43 | class _ExampleWidgetState extends State<ExampleWidget> { |
42 | @override | 44 | @override |
43 | Widget build(BuildContext context) { | 45 | Widget build(BuildContext context) { |
44 | - printScreenInformation(); | 46 | + // printScreenInformation(); |
45 | return Scaffold( | 47 | return Scaffold( |
46 | appBar: AppBar( | 48 | appBar: AppBar( |
47 | title: Text(widget.title), | 49 | title: Text(widget.title), |
-
Please register or login to post a comment