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
dependabot[bot] 4bbb08afa5
Bump go_router from 13.2.5 to 14.0.0 in /navigation_and_routing (#2252)
6 months ago
..
android Update Samples for 3.16 (#2085) 12 months ago
ios Update Samples for 3.16 (#2085) 12 months ago
lib Update navigation_and_routing sample to go_router (#2067) 1 year ago
linux Update Samples for 3.16 (#2085) 12 months ago
macos Flutter beta (#1952) 1 year ago
test Update Navigation and Routing sample (#851) 3 years ago
web Flutter beta (#1952) 1 year ago
windows Update Samples for 3.16 (#2085) 12 months ago
.gitignore Replace navigation_and_routing with a new sample (#832) 3 years ago
.metadata Fixup for failing Beta CI (#2092) 12 months 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) 12 months ago
pubspec.yaml Bump go_router from 13.2.5 to 14.0.0 in /navigation_and_routing (#2252) 6 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.