diff --git a/images/icon_app_1024.png b/images/icon_app_1024.png new file mode 100644 index 0000000..dd19975 Binary files /dev/null and b/images/icon_app_1024.png differ diff --git a/lib/main.dart b/lib/main.dart index 4879c23..2f9eb1a 100644 --- a/lib/main.dart +++ b/lib/main.dart @@ -71,7 +71,6 @@ class _MyAppState extends State { setState(() { _isInitialed = true; }); -// Navigator.pushReplacementNamed(context, SplashPage.ROUTE_NAME); } @@ -103,7 +102,14 @@ class _MyAppState extends State { title: 'githao', onGenerateTitle: (context) => S.current.appTitle, theme: themeProvide.themeData, - home: _isInitialed ? SplashPage() : Container(), + home: _isInitialed ? SplashPage() : Container( + color: Colors.white, + child: Center( + child: Image.asset('images/icon_app_1024.png', + fit: BoxFit.contain, + ), + ), + ), ); }, );