mirror of
https://github.com/GopeedLab/gopeed.git
synced 2026-11-15 12:53:41 +00:00
feat: task file manage (#196)
1. support view task file list 2. support share file on android and iOS
This commit is contained in:
14 files changed
+312
-14
No files matched your search
@@ -1,4 +1,5 @@
|
||||
import 'package:get/get.dart';
|
||||
import 'package:gopeed/app/modules/task/views/task_files_view.dart';
|
||||
import 'package:gopeed/app/modules/task/views/task_view.dart';
|
||||
|
||||
import '../modules/create/bindings/create_binding.dart';
|
||||
@@ -10,6 +11,7 @@ import '../modules/root/views/root_view.dart';
|
||||
import '../modules/setting/bindings/setting_binding.dart';
|
||||
import '../modules/setting/views/setting_view.dart';
|
||||
import '../modules/task/bindings/task_binding.dart';
|
||||
import '../modules/task/bindings/task_files_binding.dart';
|
||||
|
||||
part 'app_routes.dart';
|
||||
|
||||
@@ -37,7 +39,14 @@ class AppPages {
|
||||
name: _Paths.TASK,
|
||||
page: () => const TaskView(),
|
||||
transition: Transition.noTransition,
|
||||
binding: TaskBinding()),
|
||||
binding: TaskBinding(),
|
||||
children: [
|
||||
GetPage(
|
||||
name: _Paths.TASK_FILES,
|
||||
page: () => const TaskFilesView(),
|
||||
transition: Transition.noTransition,
|
||||
binding: TaskFilesBinding()),
|
||||
]),
|
||||
GetPage(
|
||||
name: _Paths.SETTING,
|
||||
page: () => const SettingView(),
|
||||
|
||||
@@ -7,6 +7,7 @@ abstract class Routes {
|
||||
static const HOME = _Paths.HOME;
|
||||
static const CREATE = _Paths.CREATE;
|
||||
static const TASK = _Paths.HOME + _Paths.TASK;
|
||||
static const TASK_FILES = TASK + _Paths.TASK_FILES;
|
||||
static const SETTING = _Paths.HOME + _Paths.SETTING;
|
||||
}
|
||||
|
||||
@@ -16,5 +17,6 @@ abstract class _Paths {
|
||||
static const HOME = '/home';
|
||||
static const CREATE = '/create';
|
||||
static const TASK = '/task';
|
||||
static const TASK_FILES = '/files';
|
||||
static const SETTING = '/setting';
|
||||
}
|
||||
Reference in new issue
Block a user