添加图片类型浏览列表
This commit is contained in:
parent
04a487fec9
commit
59348520f4
@ -0,0 +1,11 @@
|
|||||||
|
import 'package:get/get.dart';
|
||||||
|
|
||||||
|
import 'imgcategorypage_controller.dart';
|
||||||
|
|
||||||
|
class ImgCategoryPageBinding extends Bindings {
|
||||||
|
@override
|
||||||
|
void dependencies() {
|
||||||
|
Get.put(ImgCategoryPageController());
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
||||||
@ -0,0 +1,5 @@
|
|||||||
|
import 'package:get/get.dart';
|
||||||
|
|
||||||
|
class ImgCategoryPageController extends GetxController {
|
||||||
|
|
||||||
|
}
|
||||||
@ -0,0 +1,18 @@
|
|||||||
|
import 'package:flutter/material.dart';
|
||||||
|
import 'package:get/get.dart';
|
||||||
|
import 'package:wallpaper/pages/imgcategorypage/imgcategorypage_controller.dart';
|
||||||
|
class ImgCategoryPageView extends GetView {
|
||||||
|
const ImgCategoryPageView({super.key});
|
||||||
|
|
||||||
|
@override
|
||||||
|
Widget build(BuildContext context) {
|
||||||
|
return Scaffold(
|
||||||
|
appBar: AppBar(
|
||||||
|
title: const Text("图片列表"),
|
||||||
|
),
|
||||||
|
body: const Center(
|
||||||
|
child: Text("下载的..."),
|
||||||
|
),
|
||||||
|
);
|
||||||
|
}
|
||||||
|
}
|
||||||
@ -1,17 +1,14 @@
|
|||||||
import 'package:wallpaper/pages/homepage/homepage_binding.dart';
|
import 'package:wallpaper/pages/homepage/homepage_binding.dart';
|
||||||
import 'package:wallpaper/pages/homepage/homepage_view.dart';
|
import 'package:wallpaper/pages/imgcategorypage/imgcategorypage_binding.dart';
|
||||||
|
|
||||||
import 'package:wallpaper/pages/tabarpage/tabarpage_binding.dart';
|
import 'package:wallpaper/pages/tabarpage/tabarpage_binding.dart';
|
||||||
import 'package:wallpaper/pages/tabarpage/tabarpage_view.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/downloadpage/downloadpage_binding.dart';
|
||||||
|
|
||||||
import 'package:wallpaper/pages/collectionpage/collectionpage_view.dart';
|
// import 'package:wallpaper/pages/collectionpage/collectionpage_binding.dart';
|
||||||
import 'package:wallpaper/pages/collectionpage/collectionpage_binding.dart';
|
|
||||||
|
|
||||||
|
|
||||||
import 'package:wallpaper/pages/mypage/mypage_view.dart';
|
|
||||||
import 'package:wallpaper/pages/mypage/mypage_binding.dart';
|
import 'package:wallpaper/pages/mypage/mypage_binding.dart';
|
||||||
|
|
||||||
import 'package:get/get.dart';
|
import 'package:get/get.dart';
|
||||||
@ -24,7 +21,7 @@ class AppRoutes {
|
|||||||
GetPage(
|
GetPage(
|
||||||
name: initialPage,
|
name: initialPage,
|
||||||
page: ()=> const TabbarPageView(),
|
page: ()=> const TabbarPageView(),
|
||||||
bindings: [TabbarPageBinding(), HomePageBinding(),DownloadPageBinding(),MyPageBinding()],
|
bindings: [TabbarPageBinding(), HomePageBinding(),DownloadPageBinding(),MyPageBinding(),ImgCategoryPageBinding()],
|
||||||
participatesInRootNavigator: true,
|
participatesInRootNavigator: true,
|
||||||
),
|
),
|
||||||
];
|
];
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user