查看大图
This commit is contained in:
parent
7b77d75a4c
commit
e6aefe8f3b
11
wallpaper/lib/pages/imgscanpage/imgscanpage_binding.dart
Normal file
11
wallpaper/lib/pages/imgscanpage/imgscanpage_binding.dart
Normal file
@ -0,0 +1,11 @@
|
|||||||
|
import 'package:get/get.dart';
|
||||||
|
|
||||||
|
import 'imgscanpage_controller.dart';
|
||||||
|
|
||||||
|
class ImgScanPageBinding extends Bindings {
|
||||||
|
@override
|
||||||
|
void dependencies() {
|
||||||
|
Get.put(ImgScanPageController());
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
||||||
@ -0,0 +1,5 @@
|
|||||||
|
import 'package:get/get.dart';
|
||||||
|
|
||||||
|
class ImgScanPageController extends GetxController {
|
||||||
|
|
||||||
|
}
|
||||||
18
wallpaper/lib/pages/imgscanpage/imgscanpage_view.dart
Normal file
18
wallpaper/lib/pages/imgscanpage/imgscanpage_view.dart
Normal file
@ -0,0 +1,18 @@
|
|||||||
|
import 'package:flutter/material.dart';
|
||||||
|
import 'package:get/get.dart';
|
||||||
|
|
||||||
|
class ImgScanPageView extends GetView {
|
||||||
|
const ImgScanPageView({super.key});
|
||||||
|
|
||||||
|
@override
|
||||||
|
Widget build(BuildContext context) {
|
||||||
|
return Scaffold(
|
||||||
|
appBar: AppBar(
|
||||||
|
title: const Text("查看大图"),
|
||||||
|
),
|
||||||
|
body: const Center(
|
||||||
|
child: Text("下载的..."),
|
||||||
|
),
|
||||||
|
);
|
||||||
|
}
|
||||||
|
}
|
||||||
@ -1,5 +1,6 @@
|
|||||||
import 'package:wallpaper/pages/homepage/homepage_binding.dart';
|
import 'package:wallpaper/pages/homepage/homepage_binding.dart';
|
||||||
import 'package:wallpaper/pages/imgcategorypage/imgcategorypage_binding.dart';
|
import 'package:wallpaper/pages/imgcategorypage/imgcategorypage_binding.dart';
|
||||||
|
import 'package:wallpaper/pages/imgscanpage/imgscanpage_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';
|
||||||
@ -21,7 +22,7 @@ class AppRoutes {
|
|||||||
GetPage(
|
GetPage(
|
||||||
name: initialPage,
|
name: initialPage,
|
||||||
page: ()=> const TabbarPageView(),
|
page: ()=> const TabbarPageView(),
|
||||||
bindings: [TabbarPageBinding(), HomePageBinding(),DownloadPageBinding(),MyPageBinding(),ImgCategoryPageBinding()],
|
bindings: [TabbarPageBinding(), HomePageBinding(),DownloadPageBinding(),MyPageBinding(),ImgCategoryPageBinding(),ImgScanPageBinding()],
|
||||||
participatesInRootNavigator: true,
|
participatesInRootNavigator: true,
|
||||||
),
|
),
|
||||||
];
|
];
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user