Skip to content

[go_router] Add support for relative routes #108177

@johnpryan

Description

@johnpryan

In order to support multiple navigation stacks (#99126), a RouteState object should be placed in the widget tree above each route builder to provide a go() API that interprets the route path as a relative path to the parent route. The go_router_prototype implements this behavior using the RouteState inherited widget.

See also:

Metadata

Metadata

Assignees

No one assigned

    Labels

    P3Issues that are less important to the Flutter projectc: proposalA detailed proposal for a change to Flutterp: go_routerThe go_router packagepackageflutter/packages repository. See also p: labels.

    Type

    No type

    Projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions