Skip to content

[go_router] _debugKnownRoutes does not print nested routing for ShellRoute #120382

@vasilich6107

Description

@vasilich6107

Use case

When you have a complex app it's feels hard to quickly to understand the router structure.
There is a debug function that prints the route structure on rote creation but it does not print nested elements for
ShellRoute.

image

Proposal

Output the full router structure including nested routes in tree view in console

Metadata

Metadata

Assignees

No one assigned

    Labels

    P3Issues that are less important to the Flutter projectc: new featureNothing broken; request for a new capabilityc: proposalA detailed proposal for a change to Flutterp: go_routerThe go_router packagepackageflutter/packages repository. See also p: labels.team-frameworkOwned by Framework teamtriaged-frameworkTriaged by Framework team

    Type

    No type

    Projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions