[Feature] Replace go_router with auto_route

This commit is contained in:
PartyDonut 2024-10-05 16:29:51 +02:00
parent b31cc86ae8
commit 144c8faf70
42 changed files with 1181 additions and 980 deletions

View file

@ -2,13 +2,27 @@ targets:
$default:
sources:
- lib/$lib$
- "**/models/**.dart" # Matches models folder at any depth in lib
- "**/providers/**.dart" # Matches providers folder at any depth in lib
- "**/models/**.dart"
- "**/providers/**.dart"
- lib/util/**.dart
- lib/jellyfin/**.dart
- "**/**_screen.dart"
- "**/**_page.dart"
- swagger/**
- lib/routes/auto_router.dart
- $package$
builders:
auto_route_generator:auto_router_generator:
options:
enable_cached_builds: true
generate_for:
- lib/routes/auto_router.dart
auto_route_generator:auto_route_generator:
options:
enable_cached_builds: true
generate_for:
- "**/**_screen.dart"
- "**/**_page.dart"
freezed|freezed:
options:
generate_for: