Skip to content

[go_router] [proposal] deprecate imperative api - make go_router declarative only #114216

@iapicca

Description

@iapicca

Use case

the reasons behind this proposal are:

  • reduce complexity of the package
  • go_router imperative api overlaps navigator 2.x api
  • imperative navigation will be still available using navigatorKey

Proposal

remove all imperative methods from go_router and supersede the issue #99112

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.r: invalidIssue is closed as not valid

    Type

    No type

    Projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions