Skip to content

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

Open
flutter/packages
#9422
@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

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions