@@ -25,6 +25,7 @@ import 'package:zhiying_official/register.dart'; | |||||
import 'package:zhiying_base_widget/zhiying_base_widget.dart'; | import 'package:zhiying_base_widget/zhiying_base_widget.dart'; | ||||
import 'package:zhiying_acquisition/register.dart'; | import 'package:zhiying_acquisition/register.dart'; | ||||
void main() { | void main() { | ||||
FlutterError.onError = (FlutterErrorDetails details) { | FlutterError.onError = (FlutterErrorDetails details) { | ||||
FlutterError.dumpErrorToConsole(details); | FlutterError.dumpErrorToConsole(details); | ||||
@@ -49,7 +50,11 @@ class _MyAppState extends State<MyApp> { | |||||
return Center( | return Center( | ||||
child: Text( | child: Text( | ||||
"" + erroStr, | "" + erroStr, | ||||
style: Theme.of(context).textTheme.title.copyWith(color: Colors.grey[200]), | |||||
style: Theme | |||||
.of(context) | |||||
.textTheme | |||||
.title | |||||
.copyWith(color: Colors.grey[200]), | |||||
), | ), | ||||
); | ); | ||||
} | } | ||||
@@ -67,6 +72,7 @@ class _MyAppState extends State<MyApp> { | |||||
EquityCardRegister.init(); | EquityCardRegister.init(); | ||||
OfficialRegister.init(); | OfficialRegister.init(); | ||||
AcquisitionRegister.init(); | AcquisitionRegister.init(); | ||||
print('初始化百川'); | print('初始化百川'); | ||||
FlutterAlibc.initAlibc(version: "", appName: "").then((result) { | FlutterAlibc.initAlibc(version: "", appName: "").then((result) { | ||||
print("白川" + '${result.errorCode} ${result.errorMessage}'); | print("白川" + '${result.errorCode} ${result.errorMessage}'); | ||||
@@ -79,7 +85,6 @@ class _MyAppState extends State<MyApp> { | |||||
//debug app不更新 app更新插件 | //debug app不更新 app更新插件 | ||||
AppUpdateUtil.initXUpdate(); | AppUpdateUtil.initXUpdate(); | ||||
} | } | ||||
} | } | ||||
@override | @override | ||||
@@ -130,8 +135,8 @@ class _MyAppState extends State<MyApp> { | |||||
return locale; | return locale; | ||||
}, | }, | ||||
home: LaunchPage( | home: LaunchPage( | ||||
// builder: (context) => HomePage(), | |||||
), | |||||
// builder: (context) => HomePage(), | |||||
), | |||||
), | ), | ||||
), | ), | ||||
); | ); | ||||
@@ -34,6 +34,8 @@ dev_dependencies: | |||||
path: ../../zhiying_official | path: ../../zhiying_official | ||||
zhiying_acquisition: | zhiying_acquisition: | ||||
path: ../../zhiying_acquisition | path: ../../zhiying_acquisition | ||||
zhiying_credit_card: | |||||
path: ../../zhiying_credit_card | |||||
#微信导师 | #微信导师 | ||||
zhiying_wechat_teacher: | zhiying_wechat_teacher: | ||||
#path: ../zhiying_wechat_teacher | #path: ../zhiying_wechat_teacher | ||||
@@ -4,7 +4,6 @@ import 'dart:convert'; | |||||
import 'dart:io'; | import 'dart:io'; | ||||
import 'package:cached_network_image/cached_network_image.dart'; | import 'package:cached_network_image/cached_network_image.dart'; | ||||
import 'package:connectivity/connectivity.dart'; | |||||
import 'package:flutter/cupertino.dart'; | import 'package:flutter/cupertino.dart'; | ||||
import 'package:flutter/foundation.dart'; | import 'package:flutter/foundation.dart'; | ||||
import 'package:flutter/material.dart'; | import 'package:flutter/material.dart'; | ||||
@@ -3,7 +3,6 @@ import 'dart:async'; | |||||
import 'dart:io'; | import 'dart:io'; | ||||
import 'dart:typed_data'; | import 'dart:typed_data'; | ||||
import 'package:connectivity/connectivity.dart'; | |||||
import 'package:flutter/cupertino.dart'; | import 'package:flutter/cupertino.dart'; | ||||
import 'package:flutter/foundation.dart'; | import 'package:flutter/foundation.dart'; | ||||
import 'package:flutter/material.dart'; | import 'package:flutter/material.dart'; | ||||
@@ -24,7 +24,7 @@ dependencies: | |||||
ref: '0.0.1' | ref: '0.0.1' | ||||
image_picker: ^0.6.7+3 | image_picker: ^0.6.7+3 | ||||
tab_indicator_styler: 1.0.0 | tab_indicator_styler: 1.0.0 | ||||
connectivity: ^0.4.9+3 | |||||
image_cropper: | image_cropper: | ||||
git: | git: | ||||
url: 'http://192.168.0.138:3000/FnuoOS_Flutter_Components/Image_Cropper.git' | url: 'http://192.168.0.138:3000/FnuoOS_Flutter_Components/Image_Cropper.git' | ||||