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
Eric Windmill 594cac74f2
codelab_rebuild platform channels
2 weeks ago
..
android codelab_rebuild nav_and_routing 2 weeks ago
ios codelab_rebuild nav_and_routing 2 weeks ago
lib Update navigation_and_routing sample to go_router (#2067) 1 year ago
linux codelab_rebuild nav_and_routing 2 weeks ago
macos codelab_rebuild nav_and_routing 2 weeks ago
test Update Navigation and Routing sample (#851) 4 years ago
web codelab_rebuild nav_and_routing 2 weeks ago
windows codelab_rebuild nav_and_routing 2 weeks ago
.gitignore Replace navigation_and_routing with a new sample (#832) 4 years ago
.metadata codelab_rebuild nav_and_routing 2 weeks 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 Update Samples for 3.16 (#2085) 1 year ago
pubspec.yaml codelab_rebuild platform channels 2 weeks 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.