Commit f1aa7572 authored by laishanqi's avatar laishanqi

调整按钮顺序

parent fd99e456
...@@ -96,7 +96,7 @@ class MyApp extends StatelessWidget { ...@@ -96,7 +96,7 @@ class MyApp extends StatelessWidget {
Widget mainPage() { Widget mainPage() {
return Scaffold( return Scaffold(
appBar: AppBar( appBar: AppBar(
title: Text("路由"), title: Text("NetRain Flutter学习计划"),
), ),
body: RouterNavigator(title: 'Flutter Demo Home Page'), body: RouterNavigator(title: 'Flutter Demo Home Page'),
); );
...@@ -129,12 +129,12 @@ class _RouterNavigatorState extends State<RouterNavigator> { ...@@ -129,12 +129,12 @@ class _RouterNavigatorState extends State<RouterNavigator> {
byName = value; byName = value;
}); });
}), }),
_item("登陆", LoginPage(), 'login'),
_item("首页", LessGroupPage(), 'doctor_MainPage'), _item("首页", LessGroupPage(), 'doctor_MainPage'),
_item("less页面", LessGroupPage(), 'less'), _item("less页面", LessGroupPage(), 'less'),
_item("ful页面", FulGroupPage(), 'ful'), _item("ful页面", FulGroupPage(), 'ful'),
_item("layout页面", LayoutPage(), 'layout'), _item("layout页面", LayoutPage(), 'layout'),
_item("拍照页面", PhotoApp(), 'photo'), _item("拍照页面", PhotoApp(), 'photo'),
_item("登陆", LoginPage(), 'login'),
_item("登录网络请求", LoginRequestPage(), 'LoginRequestPage'), _item("登录网络请求", LoginRequestPage(), 'LoginRequestPage'),
_item("CustomTabPage", TabBarPage(), 'CustomTabPage'), _item("CustomTabPage", TabBarPage(), 'CustomTabPage'),
_item("PageView", SampleAppPage(), 'PageView'), _item("PageView", SampleAppPage(), 'PageView'),
......
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