Skip to content

[go_router] Go router type safe route topic is outdated #170574

@ValentinVignal

Description

@ValentinVignal

Steps to reproduce

When using go_router 15.2.0 and go_router_builder ^2.0.0, an error is thrown:

  ══╡ EXCEPTION CAUGHT BY GESTURE ╞═══════════════════════════════════════════════════════════════════
  The following UnimplementedError was thrown while handling a gesture:
  Should be generated using [Type-safe
  routing](https://pub.dev/documentation/go_router/latest/topics/Type-safe%20routes-topic.html).

  When the exception was thrown, this was the stack:
  #0      GoRouteData.push (package:go_router/src/route_data.dart:144:47)

But the link doesn't mention the mixin that needs to be used

Image

Metadata

Metadata

Labels

d: api docsIssues with https://api.flutter.dev/p: go_routerThe go_router packagep: go_router_builderThe go_router_builder packagepackageflutter/packages repository. See also p: labels.r: fixedIssue is closed as already fixed in a newer versionteam-frameworkOwned by Framework team

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions