Skip to content

fastcampus-flutter-2/part3-ch12-router

Repository files navigation

ch12_fastcampus_go_router

변경사항

2025-07-07

1. go_router_builder 업데이트

  • 3.0.0 Route classes now required to use a mixin with _$RouteName.
  • 3.0.1 Updates README.md to use the mixin with _$RouteName.
[SEVERE] go_router_builder on lib/go_router_builder/builder_router.dart:

Missing mixin clause `with _$HomeRoute`
package:ch12_fastcampus_go_router/go_router_builder/builder_router.dart:12:7
   ╷
12 │ class HomeRoute extends GoRouteData {
   │       ^^^^^^^^^
   ╵

  • 3.0.0 버전 부터 with 를 붙여주어야 합니다.( with _$HomeRoute)
  • 변경 전: class HomeRoute extends GoRouteData
  • 변경 후: class HomeRoute extends GoRouteData with _$HomeRoute

2. Flutter Stable (3.32) 대응

  • 최신 플랫폼 코드 업데이트
  • 빌드 확인

3. pubspec 파일 업데이트

  • build_runner: ^2.4.15
  • go_router_builder: ^3.0.1
  • go_router: ^16.0.0

About

No description or website provided.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published