Erengun / Flutter-Riverpod-2.0-Template

A flutter template with Riverpod 2.0, Freezed, Go Router, Hive, Easy Localization and more.
MIT License
72 stars 5 forks source link

Introduce Feature First Structure for Enhanced Modularity #17

Closed Erengun closed 9 months ago

Erengun commented 9 months ago

This PR introduces the Feature First structure to the Flutter Riverpod 2.0 template, enhancing the modularity and maintainability of the codebase. The Feature First approach organizes code into self-contained features, each with its own set of responsibilities and dependencies, leading to a more intuitive and scalable project structure.

Changes:

Benefits:

Example of Feature Directory Structure:

Hey i have a flutter riverpod 2.0 template in github write me a short pr content that introduces feature first structure

‣ lib ‣ common ‣ config ‣ constants ‣ data ‣ di ‣ exceptions ‣ features ‣ home ‣ info ‣ ... ‣ localization ‣ routing ‣ utils



**Next Steps:**

- Ensure that existing features are refactored to align with the new structure.
- Update documentation to reflect the new organization.
- Review the current CI/CD pipeline to ensure it accommodates the new structure.

**Testing:**

- Manual testing of the application has been performed to confirm that all features function as expected.