Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
G
gm_flutter
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
林生雨
gm_flutter
Commits
0fe58f30
Commit
0fe58f30
authored
Jul 01, 2020
by
林生雨
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
commit
parent
99e2f6f0
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
14 additions
and
14 deletions
+14
-14
main.dart
lib/main.dart
+14
-14
No files found.
lib/main.dart
View file @
0fe58f30
...
...
@@ -9,6 +9,7 @@ import 'package:shared_preferences/shared_preferences.dart';
import
'DemoPage.dart'
;
import
'DemoPage1.dart'
;
import
'commonModel/base/BaseComponent.dart'
;
import
'commonModel/base/BaseUtil.dart'
;
import
'commonModel/cache/CacheManager.dart'
;
import
'commonModel/nav/NavigationService.dart'
;
...
...
@@ -74,20 +75,19 @@ class MyApp extends State<MyAppWidget> {
Widget
build
(
BuildContext
context
)
{
WindowUtil
.
setBarStatus
(
true
);
return
MaterialApp
(
theme:
ThemeData
(),
builder:
FlutterBoost
.
init
(
postPush:
_onRoutePushed
),
home:
RouterCenterImpl
().
findClueRouter
().
getProjectDetailsPage
(),
// home: isDebug
// ? Container(
// color: Colors.red,
// )
// : Container(
// color: Colors.white,
// child: Center(
// child: loadingItem(),
// ),
// )
);
theme:
ThemeData
(
primaryColor:
Colors
.
white
,
cursorColor:
Color
(
0xff20BDBB
),
canvasColor:
Colors
.
white
),
builder:
FlutterBoost
.
init
(
postPush:
_onRoutePushed
),
home:
isDebug
?
RouterCenterImpl
().
findMainRouter
().
getTestPage
()
:
Container
(
color:
Colors
.
white
,
child:
Center
(
child:
loadingItem
(),
),
));
}
void
_onRoutePushed
(
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment