25 lines
482 B
Dart
25 lines
482 B
Dart
// Author: fengshengxiong
|
|
// Date: 2024/5/7
|
|
// Description: 路由配置
|
|
|
|
import 'package:get/get.dart';
|
|
import '../modules/home/home_binding.dart';
|
|
import '../modules/home/home_view.dart';
|
|
|
|
class AppPages {
|
|
AppPages._();
|
|
|
|
/// 首页
|
|
static const home = '/home';
|
|
|
|
static final routes = [
|
|
GetPage(
|
|
name: home,
|
|
page: () => const HomeView(),
|
|
bindings: [HomeBinding()],
|
|
participatesInRootNavigator: true,
|
|
preventDuplicates: true,
|
|
),
|
|
];
|
|
}
|