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
Parker Lougheed 90f0584108
Clean up SDK constraints and lints (#2471)
2 months ago
..
android Update Samples for 3.16 (#2085) 1 year ago
ios Update Samples for 3.16 (#2085) 1 year ago
lib Update navigation_and_routing sample to go_router (#2067) 1 year ago
linux Update Samples for 3.16 (#2085) 1 year ago
macos Flutter beta (#1952) 1 year ago
test Update Navigation and Routing sample (#851) 4 years ago
web Bump deps and min SDKs, move web apps to new bootstrapping logic (#2292) 7 months ago
windows Update Samples for 3.16 (#2085) 1 year ago
.gitignore Replace navigation_and_routing with a new sample (#832) 4 years ago
.metadata Fixup for failing Beta CI (#2092) 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 Update Samples for 3.16 (#2085) 1 year ago
pubspec.yaml Clean up SDK constraints and lints (#2471) 2 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.