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)
1 year ago
..
android Flutter beta (#1952) 1 year ago
ios Flutter beta (#1952) 1 year ago
lib Update navigation_and_routing sample to go_router (#2067) 1 year ago
linux Update `sdk` constraint range and update runners (#1706) 2 years ago
macos Flutter beta (#1952) 1 year ago
test Update Navigation and Routing sample (#851) 4 years ago
web Flutter beta (#1952) 1 year ago
windows Flutter beta (#1952) 1 year ago
.gitignore Replace navigation_and_routing with a new sample (#832) 4 years ago
.metadata Update runners (#2011) 1 year ago
README.md Update navigation_and_routing sample to go_router (#2067) 1 year ago
analysis_options.yaml Create `analysis_defaults` package (#1654) 2 years ago
codelab_rebuild.yaml Flutter 3.7.0 (#1556) 2 years ago
pubspec.yaml Update navigation_and_routing sample to go_router (#2067) 1 year 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.