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(
builder: FlutterBoost.init(postPush: _onRoutePushed), primaryColor: Colors.white,
home: RouterCenterImpl().findClueRouter().getProjectDetailsPage(), cursorColor: Color(0xff20BDBB),
// home: isDebug canvasColor: Colors.white),
// ? Container( builder: FlutterBoost.init(postPush: _onRoutePushed),
// color: Colors.red, home: isDebug
// ) ? RouterCenterImpl().findMainRouter().getTestPage()
// : Container( : Container(
// color: Colors.white, color: Colors.white,
// child: Center( child: Center(
// child: loadingItem(), 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