File tree Expand file tree Collapse file tree 3 files changed +4
-3
lines changed Expand file tree Collapse file tree 3 files changed +4
-3
lines changed Original file line number Diff line number Diff line change 3737
3838### 编译运行流程
3939
40- 1、配置好Flutter开发环境(目前Flutter SDK 版本 v0.5.8 的 Tag ),可参阅 [ 【搭建环境】] ( https://flutterchina.club ) 。
40+ 1、配置好Flutter开发环境(目前Flutter SDK 版本 ** v0.5.8** 的 Tag ),可参阅 [ 【搭建环境】] ( https://flutterchina.club ) 。
4141
42422、clone代码,执行` Packages get ` 安装第三方包。(因为某些不可抗力原因,国内可能需要设置代理: [ 代理环境变量] ( https://flutterchina.club/setup-windows/ ) )
4343
5454
55554、运行之前请注意下
5656
57- > ### 1、本地Flutter SDK 版本 v0.5.7 以上。2、pubspec.yaml 中的第三方包版本和 pubspec.lock 中的是否对应的上
57+ > ### 1、本地Flutter SDK 版本 v0.5.8 以上。2、pubspec.yaml 中的第三方包版本和 pubspec.lock 中的是否对应的上
5858
5959
6060
Original file line number Diff line number Diff line change @@ -90,7 +90,7 @@ class CommonUtils {
9090 static pushTheme (Store store, int index) {
9191 ThemeData themeData;
9292 List <Color > colors = getThemeListColor ();
93- themeData = new ThemeData (primarySwatch: colors[index]);
93+ themeData = new ThemeData (primarySwatch: colors[index], platform : TargetPlatform .iOS );
9494 store.dispatch (new RefreshThemeDataAction (themeData));
9595 }
9696
Original file line number Diff line number Diff line change @@ -34,6 +34,7 @@ class FlutterReduxApp extends StatelessWidget {
3434 trendList: new List (),
3535 themeData: new ThemeData (
3636 primarySwatch: GSYColors .primarySwatch,
37+ platform: TargetPlatform .iOS//滑动返回
3738 ),
3839 locale: Locale ('zh' , 'CH' )),
3940 );
You can’t perform that action at this time.
0 commit comments