diff options
| author | Paul Buetow <paul@buetow.org> | 2026-05-21 08:07:06 +0300 |
|---|---|---|
| committer | Paul Buetow <paul@buetow.org> | 2026-05-21 08:07:06 +0300 |
| commit | 6365d47f8257efa830d390c092ee9586aded9040 (patch) | |
| tree | be6143ff5b67ed10794b6cbd1bf84777c568ee4e /player-android/lib/app_routes.dart | |
| parent | faa3cf36bc5b57e8b133eab8df90110b80eb4cf7 (diff) | |
Implement SetsListScreen with Material 3 grid, pull-to-refresh, and widget tests (ta)
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Diffstat (limited to 'player-android/lib/app_routes.dart')
| -rw-r--r-- | player-android/lib/app_routes.dart | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/player-android/lib/app_routes.dart b/player-android/lib/app_routes.dart index aa76ba7..746ebb9 100644 --- a/player-android/lib/app_routes.dart +++ b/player-android/lib/app_routes.dart @@ -13,6 +13,13 @@ abstract final class AppRoutes { /// First-run setup route shown when no admin account exists yet. static const bootstrap = '/bootstrap'; + /// Route that lists media items inside a specific set. + /// The ':setId' segment is a numeric set identifier. + static const mediaGrid = '/sets/:setId'; + /// Returns the concrete path for a media-detail page given a numeric [id]. static String mediaDetailPath(int id) => '/media/$id'; + + /// Returns the concrete path for the media-grid page of a given [setId]. + static String mediaGridPath(int setId) => '/sets/$setId'; } |
