app scaffold

This commit is contained in:
Guangfei.Zhao
2026-08-17 15:29:55 +08:00
commit 681688dfae
301 changed files with 18414 additions and 0 deletions
+19
View File
@@ -0,0 +1,19 @@
/// 本 feature 对外暴露的路由。来源:conti-docs/04-routing.md。
library;
import 'package:core_router/core_router.dart';
import 'package:flutter/widgets.dart';
import 'presentation/home_page.dart';
/// 工作台路由。
///
/// 拼装在 `app/` 的 `appRoutesProvider` 里完成——core_router 不依赖任何
/// featurefeature 之间也不互相 import。`GoRoute` 来自 core_router 的
/// re-export,本包 pubspec 里没有 go_router。
List<RouteBase> buildHomeRoutes() => <RouteBase>[
GoRoute(
path: AppRoutes.home,
builder: (BuildContext context, GoRouterState state) => const HomePage(),
),
];