|
|
@@ -25,6 +25,7 @@ import 'package:zhiying_official/register.dart'; |
|
|
|
import 'package:zhiying_base_widget/zhiying_base_widget.dart'; |
|
|
|
import 'package:zhiying_acquisition/register.dart'; |
|
|
|
|
|
|
|
|
|
|
|
void main() { |
|
|
|
FlutterError.onError = (FlutterErrorDetails details) { |
|
|
|
FlutterError.dumpErrorToConsole(details); |
|
|
@@ -49,7 +50,11 @@ class _MyAppState extends State<MyApp> { |
|
|
|
return Center( |
|
|
|
child: Text( |
|
|
|
"" + 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(); |
|
|
|
OfficialRegister.init(); |
|
|
|
AcquisitionRegister.init(); |
|
|
|
|
|
|
|
print('初始化百川'); |
|
|
|
FlutterAlibc.initAlibc(version: "", appName: "").then((result) { |
|
|
|
print("白川" + '${result.errorCode} ${result.errorMessage}'); |
|
|
@@ -79,7 +85,6 @@ class _MyAppState extends State<MyApp> { |
|
|
|
//debug app不更新 app更新插件 |
|
|
|
AppUpdateUtil.initXUpdate(); |
|
|
|
} |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
@override |
|
|
@@ -130,8 +135,8 @@ class _MyAppState extends State<MyApp> { |
|
|
|
return locale; |
|
|
|
}, |
|
|
|
home: LaunchPage( |
|
|
|
// builder: (context) => HomePage(), |
|
|
|
), |
|
|
|
// builder: (context) => HomePage(), |
|
|
|
), |
|
|
|
), |
|
|
|
), |
|
|
|
); |
|
|
|