Skip to content

alicja-ogonowska/go_router_examples

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Go Router Workshop

This repository contains a set of simple examples showcasing navigation in Flutter apps. First example (main_navigator_1.dart) utilizes Navigator 1.0, the rest revolves around Navigator 2.0 using go_router package.

Examples use go_router package with version 13.1.0.

Each example resides in a separate entrypoint file.

  • main_navigator_1.dart - Basic example of navigation using Navigator 1.0 API
  • main_go_router_1.dart - Simple examples of go_router configuration - route setup, custom error page
  • main_go_router_2.dart - Example with named route, passing parameters via path parameters and query parameters, custom transitions.
  • main_go_router_3.dart - Example of redirections
  • main_go_router_4.dart - Nested navigation using ShellRoute
  • main_go_router_5.dart - Nested navigation with preserved states using StatefulShellRoute and StatefulShellBranches.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published