Skip to content

Support go_router / MaterialApp.router(…) #47

@IVLIVS-III

Description

@IVLIVS-III

Is your feature request related to a problem? Please describe.

Allow combining go_router / MaterialApp.router(…) with the DialogReportMode.

Describe the solution you'd like

The _configureNavigatorKey instance method of Catcher2 should be public to enable updating the used navigatorKey after runApp was called. This allows combining go_router / MaterialApp.router(…) with the DialogReportMode.

Describe alternatives you've considered

Setting the navigatorKey of go_router's route_delegate to the value read from Catcher2 did not work, as go_router's route_delegate requires its own navigatorKey and cannot handle a custom key.

Additional context

This issue was previously opened as #33 but closed without fix due to being stale.

A PR fixing this issue already exists: #48

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions