init
This commit is contained in:
17
lib/routes/app_routes.dart
Normal file
17
lib/routes/app_routes.dart
Normal file
@@ -0,0 +1,17 @@
|
||||
/// 这里是为了定义别名路由的名称,
|
||||
/// 具体映射关系,在app_router 的 getPages 中实现
|
||||
abstract class AppRoutes {
|
||||
/// 过渡页
|
||||
static const String transit = '/transit';
|
||||
|
||||
/// 找不到页面的时候
|
||||
static const String notfound = '/notfound';
|
||||
|
||||
/// 根页面
|
||||
static const String app = '/';
|
||||
|
||||
/// 首页
|
||||
static const String home = '/home';
|
||||
|
||||
static const String scan = '/scan';
|
||||
}
|
||||
Reference in New Issue
Block a user