mirror of
https://github.com/pese-git/cherrypick.git
synced 2026-01-24 05:25:19 +00:00
- Refactored and updated pages, router, DI modules, and feature implementations in both example projects: - client_app: main.dart and my_home_page.dart updated for improved navigation and structure. - postly: updated DI wiring, presentation pages, repository implementation, and routing logic. - Applied small improvements and code consistency changes in the examples. docs: add new documentation assets and benchmarking script BREAKING CHANGE: Examples now reflect the latest changes in the DI framework and are ready for Dart 3.8+ and cherrypick_generator element2 API compatibility.
13 lines
324 B
Dart
13 lines
324 B
Dart
import 'package:auto_route/auto_route.dart';
|
|
import 'app_router.gr.dart';
|
|
|
|
@AutoRouterConfig()
|
|
class AppRouter extends RootStackRouter {
|
|
@override
|
|
List<AutoRoute> get routes => [
|
|
AutoRoute(page: PostsRoute.page, initial: true),
|
|
AutoRoute(page: PostDetailsRoute.page),
|
|
AutoRoute(page: LogsRoute.page),
|
|
];
|
|
}
|