Skip to content

heitornascimento/Google-Sample-Navigation-with-Auto-Route

Repository files navigation

Google navigation sample with Auto-Route

This project is based on [google sample][https://github.com/flutter/samples/tree/main/navigation_and_routing] repository.

Refactoring Google sample code for navigation to use [Auto_Route lib][https://github.com/Milad-Akarie/auto_route_library].

It supports both Auto Router and GoRouter implementations.

All the changes are made on auto_folder folder. The remaining code is the same as the original Google sample code.

Auto Route

The only intended change on the navigation is to open BookDetails and AuthorDetails screen outside the bottom navigation bar.

Run the app with Auto Route

flutter run --dart-define=AUTO_ROUTE=true

Run the app with default implementation with GoRouter

flutter run
Demo
auto-route-gift-resized

About

No description or website provided.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published