Shuffle/app/lib/features/catalog/presentation/catalog_routes.dart
cschlaefke 0775152870 feat(catalog): catalog search feature with domain, data layer, controller and screen
Refs #3

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-04 01:08:51 +01:00

14 lines
552 B
Dart

import 'package:go_router/go_router.dart';
import 'package:shuffle/core/routing/app_routes.dart';
import 'package:shuffle/features/catalog/presentation/catalog_query_params.dart';
import 'package:shuffle/features/catalog/presentation/search/catalog_search_screen.dart';
/// Routes of the catalog (Spec #3 § 5.5). `/catalog` is public.
final List<RouteBase> catalogRoutes = [
GoRoute(
path: AppRoutes.catalog,
builder: (context, state) => CatalogSearchScreen(
initialQuery: parseCatalogQuery(state.uri.queryParameters),
),
),
];