Commit 0fe58f30 authored by 林生雨's avatar 林生雨

commit

parent 99e2f6f0
...@@ -9,6 +9,7 @@ import 'package:shared_preferences/shared_preferences.dart'; ...@@ -9,6 +9,7 @@ import 'package:shared_preferences/shared_preferences.dart';
import 'DemoPage.dart'; import 'DemoPage.dart';
import 'DemoPage1.dart'; import 'DemoPage1.dart';
import 'commonModel/base/BaseComponent.dart';
import 'commonModel/base/BaseUtil.dart'; import 'commonModel/base/BaseUtil.dart';
import 'commonModel/cache/CacheManager.dart'; import 'commonModel/cache/CacheManager.dart';
import 'commonModel/nav/NavigationService.dart'; import 'commonModel/nav/NavigationService.dart';
...@@ -74,20 +75,19 @@ class MyApp extends State<MyAppWidget> { ...@@ -74,20 +75,19 @@ class MyApp extends State<MyAppWidget> {
Widget build(BuildContext context) { Widget build(BuildContext context) {
WindowUtil.setBarStatus(true); WindowUtil.setBarStatus(true);
return MaterialApp( return MaterialApp(
theme: ThemeData(), theme: ThemeData(
primaryColor: Colors.white,
cursorColor: Color(0xff20BDBB),
canvasColor: Colors.white),
builder: FlutterBoost.init(postPush: _onRoutePushed), builder: FlutterBoost.init(postPush: _onRoutePushed),
home: RouterCenterImpl().findClueRouter().getProjectDetailsPage(), home: isDebug
// home: isDebug ? RouterCenterImpl().findMainRouter().getTestPage()
// ? Container( : Container(
// color: Colors.red, color: Colors.white,
// ) child: Center(
// : Container( child: loadingItem(),
// color: Colors.white, ),
// child: Center( ));
// child: loadingItem(),
// ),
// )
);
} }
void _onRoutePushed( void _onRoutePushed(
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment