1
0
mirror of https://github.com/flutter/samples.git synced 2025-11-08 22:09:06 +00:00
Files
samples/navigation_and_routing
John Ryan 49eebf8c20 Update navigation_and_routing sample to go_router (#2067)
This is a new PR to update the navigation_and_routing sample to the
latest version of go_router. It is a based on
https://github.com/flutter/samples/pull/1437

---------

Co-authored-by: Brett Morgan <brettmorgan@google.com>
2023-11-01 12:14:00 -07:00
..
2023-08-17 06:26:43 +10:00
2023-08-17 06:26:43 +10:00
2023-08-17 06:26:43 +10:00
2023-08-17 06:26:43 +10:00
2023-08-17 06:26:43 +10:00
2023-09-07 22:21:54 +00:00
2023-01-25 09:08:51 +10:00

Navigation and Routing

A sample that shows how to use [go_router][https://pub.dev/packages/go_router] API to handle common navigation scenarios.

Goals

  • Demonstrate common navigation scenarios:
    • Parsing path parameters ('/user/:id')
    • Sign in (redirection)
    • Nested navigation using ShellRoute
  • Demonstrate how [deep linking][] is configured on iOS and Android
  • Demonstrate how to use the Link widget from package:url_Launcher with the Router API.