mirrored_repositories/architecture-template/lib/product
import 'package:auto_route/auto_route.dart';
import 'package:clean_architecture/feature/home/view/home_detail_view.dart';
import 'package:clean_architecture/feature/home/view/home_view.dart';
import 'package:flutter/material.dart';

part 'app_router.gr.dart';

@AutoRouterConfig(replaceInRouteName: AppRouter._replaceRouteName)

/// Project router information class
final class AppRouter extends _$AppRouter {
  static const _replaceRouteName = 'View,Route';
  @override
  List<AutoRoute> get routes => [
        AutoRoute(page: HomeRoute.page, initial: true),
        AutoRoute(page: HomeDetailRoute.page),
      ];
}
