Skip to content

Commit

Permalink
Update "README"
Browse files Browse the repository at this point in the history
  • Loading branch information
pdliuw committed Dec 18, 2019
1 parent 90f6c61 commit 36a6620
Showing 1 changed file with 8 additions and 5 deletions.
13 changes: 8 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -83,11 +83,14 @@ void main() {
///全局静态路由的配置!
///路由名称前要加"/"来标记路由名!
routes: RouteManager.initializeRoutes(
routes: <String, WidgetBuilder>{
"/LaunchPage": (BuildContext context) => LaunchPage(),
},
),
routes: RouteManager.initializeRoutes(
routes: <String, WidgetBuilder>{
"/routeName": (BuildContext context) => RouteNamePage(),
},
),
navigatorObservers: [
RouteManager.getInstance(),
],
),
);
}
Expand Down

0 comments on commit 36a6620

Please sign in to comment.