You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
samples/navigation_and_routing
John Ryan 49eebf8c20
Update navigation_and_routing sample to go_router (#2067)
8 months ago
..
android Flutter beta (#1952) 11 months ago
ios Flutter beta (#1952) 11 months ago
lib Update navigation_and_routing sample to go_router (#2067) 8 months ago
linux Update `sdk` constraint range and update runners (#1706) 1 year ago
macos Flutter beta (#1952) 11 months ago
test Update Navigation and Routing sample (#851) 3 years ago
web Flutter beta (#1952) 11 months ago
windows Flutter beta (#1952) 11 months ago
.gitignore Replace navigation_and_routing with a new sample (#832) 3 years ago
.metadata Update runners (#2011) 10 months ago
README.md Update navigation_and_routing sample to go_router (#2067) 8 months ago
analysis_options.yaml Create `analysis_defaults` package (#1654) 1 year ago
codelab_rebuild.yaml Flutter 3.7.0 (#1556) 1 year ago
pubspec.yaml Update navigation_and_routing sample to go_router (#2067) 8 months ago

README.md

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.