Skip to content

Makes Router more accessible to developers #63429

@chunhtai

Description

@chunhtai

The router widget is pretty complex because it solved a whole range of issues. We should think about how do we make it easier for developers to use it.

Here are some ideas:

Documentation:

  • 1. Add deeplinking documentation to MaterialApp/WidgetsApp. https://flutter.dev/docs/development/ui/navigation/deep-linking
  • 2. Add more explanation around SystemNavigator.routeUpdate and SystemNavigator.routeInformationUpdate, we should mention how web browser react to these method.
  • 3. Add more explanation around how web browser interact with the flutter framework. For example, web browser calls didPushRouteInformation when user click backward and forward button.

Metadata

Metadata

Assignees

No one assigned

    Labels

    P1High-priority issues at the top of the work listc: proposalA detailed proposal for a change to Fluttercustomer: crowdAffects or could affect many people, though not necessarily a specific customer.d: api docsIssues with https://api.flutter.dev/d: examplesSample code and demosf: routesNavigator, Router, and related APIs.frameworkflutter/packages/flutter repository. See also f: labels.team-frameworkOwned by Framework team

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions