mirror of
https://github.com/flutter/samples.git
synced 2025-11-08 13:58:47 +00:00
*Formatting markdown provide a link to docs.* ## Pre-launch Checklist - [x] I read the [Flutter Style Guide] _recently_, and have followed its advice. - [x] I signed the [CLA]. - [x] I read the [Contributors Guide]. - [ ] I have added sample code updates to the [changelog]. - [ ] I updated/added relevant documentation (doc comments with `///`). If you need help, consider asking for advice on the #hackers-devrel channel on [Discord]. <!-- Links --> [Flutter Style Guide]: https://github.com/flutter/flutter/blob/master/docs/contributing/Style-guide-for-Flutter-repo.md [CLA]: https://cla.developers.google.com/ [Discord]: https://github.com/flutter/flutter/blob/master/docs/contributing/Chat.md [Contributors Guide]: https://github.com/flutter/samples/blob/main/CONTRIBUTING.md [changelog]: ../CHANGELOG.md
Navigation and Routing
A sample that shows how to use 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
- Parsing path parameters (
- Demonstrate how deep linking is configured on iOS and Android
- Demonstrate how to use the Link widget from
package:url_Launcherwith the Router API.