添加路由
This commit is contained in:
parent
3d3a6a4004
commit
97356ae70e
@ -0,0 +1,5 @@
|
||||
import 'package:get/get.dart';
|
||||
|
||||
class CollectionPageController extends GetxController {
|
||||
|
||||
}
|
||||
@ -4,6 +4,13 @@ import 'package:wallpaper/pages/homepage/homepage_view.dart';
|
||||
import 'package:wallpaper/pages/tabarpage/tabarpage_binding.dart';
|
||||
import 'package:wallpaper/pages/tabarpage/tabarpage_view.dart';
|
||||
|
||||
import 'package:wallpaper/pages/downloadpage/downloadpage_view.dart';
|
||||
import 'package:wallpaper/pages/downloadpage/downloadpage_binding.dart';
|
||||
|
||||
import 'package:wallpaper/pages/collectionpage/collectionpage_view.dart';
|
||||
import 'package:wallpaper/pages/collectionpage/collectionpage_binding.dart';
|
||||
|
||||
|
||||
import 'package:get/get.dart';
|
||||
|
||||
class AppRoutes {
|
||||
@ -22,8 +29,19 @@ class AppRoutes {
|
||||
page: ()=> const HomePageView(),
|
||||
binding: HomePageBinding(),
|
||||
participatesInRootNavigator: true,
|
||||
)
|
||||
|
||||
),
|
||||
GetPage(
|
||||
name: '/downlaod',
|
||||
page: ()=> const DownloadPageView(),
|
||||
binding: DownloadPageBinding(),
|
||||
participatesInRootNavigator: true,
|
||||
),
|
||||
GetPage(
|
||||
name: '/collection',
|
||||
page: ()=> const CollectionPageView(),
|
||||
binding: CollectionPageBinding(),
|
||||
participatesInRootNavigator: true,
|
||||
),
|
||||
];
|
||||
|
||||
}
|
||||
Loading…
Reference in New Issue
Block a user