初始化收藏、下载
This commit is contained in:
parent
e6cef2a7a3
commit
caf97ecdd9
@ -0,0 +1,11 @@
|
||||
import 'package:get/get.dart';
|
||||
|
||||
import 'collectionpage_controller.dart';
|
||||
|
||||
class CollectionPageBinding extends Bindings {
|
||||
@override
|
||||
void dependencies() {
|
||||
Get.lazyPut(() => CollectionPageController());
|
||||
}
|
||||
|
||||
}
|
||||
@ -0,0 +1,18 @@
|
||||
import 'package:flutter/material.dart';
|
||||
import 'package:get/get.dart';
|
||||
|
||||
class CollectionPageView extends GetView {
|
||||
const CollectionPageView({super.key});
|
||||
|
||||
@override
|
||||
Widget build(BuildContext context) {
|
||||
return Scaffold(
|
||||
appBar: AppBar(
|
||||
title: const Text("收藏"),
|
||||
),
|
||||
body: const Center(
|
||||
child: Text("xxxxx"),
|
||||
),
|
||||
);
|
||||
}
|
||||
}
|
||||
@ -0,0 +1,11 @@
|
||||
import 'package:get/get.dart';
|
||||
|
||||
import 'downloadpage_controller.dart';
|
||||
|
||||
class DownloadPageBinding extends Bindings {
|
||||
@override
|
||||
void dependencies() {
|
||||
Get.lazyPut(() => DownloadPageController());
|
||||
}
|
||||
|
||||
}
|
||||
@ -0,0 +1,5 @@
|
||||
import 'package:get/get.dart';
|
||||
|
||||
class DownloadPageController extends GetxController {
|
||||
|
||||
}
|
||||
@ -0,0 +1,18 @@
|
||||
import 'package:flutter/material.dart';
|
||||
import 'package:get/get.dart';
|
||||
|
||||
class DownloadPageView extends GetView {
|
||||
const DownloadPageView({super.key});
|
||||
|
||||
@override
|
||||
Widget build(BuildContext context) {
|
||||
return Scaffold(
|
||||
appBar: AppBar(
|
||||
title: const Text("下载"),
|
||||
),
|
||||
body: const Center(
|
||||
child: Text("xxxxx"),
|
||||
),
|
||||
);
|
||||
}
|
||||
}
|
||||
Loading…
Reference in New Issue
Block a user