- 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
- 최신 플랫폼 코드 업데이트
- 빌드 확인
- build_runner: ^2.4.15
- go_router_builder: ^3.0.1
- go_router: ^16.0.0