|
|
@@ -58,6 +58,7 @@ class _LaunchPageState extends State<LaunchPage> { |
|
|
|
// CupertinoPageRoute(builder: (context) => HomePage())); |
|
|
|
Navigator.of(context).pushReplacementNamed('/homePage'); |
|
|
|
} |
|
|
|
NativeUtil.notifyInitSuccess(); |
|
|
|
}).catchError((err) async { |
|
|
|
if(err.toString().contains("BaseSettingModel")){ |
|
|
|
await showDialog(context: context,child: TipDialog(content: "基本配置加载失败!请检查网络是否可用后再启动应用!",)); |
|
|
@@ -100,10 +101,13 @@ class _LaunchPageState extends State<LaunchPage> { |
|
|
|
|
|
|
|
@override |
|
|
|
Widget build(BuildContext context) { |
|
|
|
return Image.asset( |
|
|
|
'assets/images/launch_image/launch_image.png', |
|
|
|
package: 'zhiying_base_widget', |
|
|
|
fit: BoxFit.fill, |
|
|
|
return Container( |
|
|
|
color: Colors.white, |
|
|
|
child: Image.asset( |
|
|
|
'assets/images/launch_image/launch_image.png', |
|
|
|
package: 'zhiying_base_widget', |
|
|
|
fit: BoxFit.fill, |
|
|
|
), |
|
|
|
); |
|
|
|
} |
|
|
|
} |