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.
The only intended change on the navigation is to open BookDetails and AuthorDetails screen outside the bottom navigation bar.
flutter run --dart-define=AUTO_ROUTE=true
flutter run
Demo |
---|
![]() |