mirror of
https://github.com/GopeedLab/gopeed.git
synced 2026-11-16 05:13:41 +00:00
feat: extension support (#78)
This commit is contained in:
118 files changed
+6971
-780
No files matched your search
@@ -4,6 +4,8 @@ import 'package:gopeed/app/modules/task/views/task_view.dart';
|
||||
|
||||
import '../modules/create/bindings/create_binding.dart';
|
||||
import '../modules/create/views/create_view.dart';
|
||||
import '../modules/extension/bindings/extension_binding.dart';
|
||||
import '../modules/extension/views/extension_view.dart';
|
||||
import '../modules/home/bindings/home_binding.dart';
|
||||
import '../modules/home/views/home_view.dart';
|
||||
import '../modules/root/bindings/root_binding.dart';
|
||||
@@ -47,6 +49,11 @@ class AppPages {
|
||||
transition: Transition.noTransition,
|
||||
binding: TaskFilesBinding()),
|
||||
]),
|
||||
GetPage(
|
||||
name: _Paths.EXTENSION,
|
||||
page: () => ExtensionView(),
|
||||
transition: Transition.noTransition,
|
||||
binding: ExtensionBinding()),
|
||||
GetPage(
|
||||
name: _Paths.SETTING,
|
||||
page: () => const SettingView(),
|
||||
|
||||
@@ -8,6 +8,7 @@ abstract class Routes {
|
||||
static const CREATE = _Paths.CREATE;
|
||||
static const TASK = _Paths.HOME + _Paths.TASK;
|
||||
static const TASK_FILES = TASK + _Paths.TASK_FILES;
|
||||
static const EXTENSION = _Paths.HOME + _Paths.EXTENSION;
|
||||
static const SETTING = _Paths.HOME + _Paths.SETTING;
|
||||
}
|
||||
|
||||
@@ -18,5 +19,6 @@ abstract class _Paths {
|
||||
static const CREATE = '/create';
|
||||
static const TASK = '/task';
|
||||
static const TASK_FILES = '/files';
|
||||
static const EXTENSION = '/extension';
|
||||
static const SETTING = '/setting';
|
||||
}
|
||||
Reference in new issue
Block a user