Skip to content

[go_router] Improve logging of routing tree (full paths) in DEBUG CONSOLE #148121

@hashirshoaeb

Description

@hashirshoaeb

Currently routes are printed like this:
Screenshot 2024-05-10 at 10 55 51 AM

Problems

  • The => does not add any value
  • It does not explain shell routes

Proposal

Screenshot 2024-05-10 at 10 58 17 AM

  • | , ├─ └─ Improves the readability of tree/branches
  • Explains shell route in the tree
  • (Bonus) Displays Widget name, to whom it is routing to.

If the team agrees, I can create a pull request for this.

Related issues: #120382

Metadata

Metadata

Assignees

No one assigned

    Labels

    c: 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.r: fixedIssue is closed as already fixed in a newer version

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions