Skip to content

[go_router_builder] Generated RelativeGoRouteData has unnecessary whitespace #174339

Closed
flutter/packages
#9875

Description

@LukasMirbt

Steps to reproduce

As can be seen in the go_router_builder relative route example, there is unnecessary whitespace in the generated output of RelativeGoRouteData.

Expected results

The generated output of a RelativeGoRouteData should be consistent with the whitespace of other route types.

Activity

  1. tirth-patel-nc commented on Aug 25, 2025

    @tirth-patel-nc
    Member

    @LukasMirbt thanks for the report. I can confirm seeing the same on (Lines 23, 28, 37, 42). Thanks for the fix as well!

    https://github.com/flutter/packages/blob/fe661306f1dabe4abd4e49666b9f79781c4d0121/packages/go_router_builder/example/lib/go_relative.g.dart#L37

  2. added
    d: api docsIssues with https://api.flutter.dev/
    and removed
    in triagePresently being triaged by the triage team
    on Aug 25, 2025
  3. added
    P2Important issues not at the top of the work list
    on Aug 26, 2025
  4. added
    r: fixedIssue is closed as already fixed in a newer version
    on Sep 4, 2025
  5. github-actions commented on Sep 18, 2025

    @github-actions

    This thread has been automatically locked since there has not been any recent activity after it was closed. If you are still experiencing a similar issue, please open a new bug, including the output of flutter doctor -v and a minimal reproduction of the issue.

  6. locked as resolved and limited conversation to collaborators on Sep 18, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    P2Important issues not at the top of the work listd: api docsIssues with https://api.flutter.dev/d: examplesSample code and demosp: go_router_builderThe go_router_builder packager: fixedIssue is closed as already fixed in a newer versionteam-frameworkOwned by Framework teamtriaged-frameworkTriaged by Framework team

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions