sossoldi
sossoldi copied to clipboard
chore(routing): migration to `auto_route`
๐ฏ Description
Migrate from the default Flutter routing system to auto_route package for better type-safe navigation, code generation, and improved developer experience.
Closes: #452
๐ฑ Changes
- [x] Update pubspec.yaml dependencies
- [x] Create router configuration
- [ ] Annotate existing pages
- [ ] Generate routing code
- [x] Update main.dart
- [ ] Replace all navigation calls
- [ ] Test all navigation flows
- [ ] Update CI/CD pipeline for
build_runner - [ ] Update development documentation
- [ ] Configure IDE/editor for generated files
๐งช Testing Instructions
Behaviour
- Run the
build_runnerwithfvm dart run build_runner watch --delete-conflicting-outputsin order to generate the routes - Check if the routing flows are corrects
๐ Checklist for reviewers
- [x] Code is formatted correctly
- [x] Tests are passing
- [x] New tests are added (if needed)
- [x] Style matches the figma/designer requests
- Tested on:
- [x] iOS
- [ ] Android