You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
feat: Refactor project structure and integrate Clean Architecture
1. lib/app/:
- Reviewed and optimized global configurations and routes.
- Updated `app.dart` with improved root widget setup.
2. config/:
- Added and refined application theme and settings.
- Simplified configurations for better scalability.
3. navigation/:
- Integrated `go_router` for route management.
- Created `app_router.dart` and `routes.dart` for centralized navigation.
4. lib/core/:
- Restructured common providers, helper classes, and constants.
- Enhanced modularity and readability.
5. lib/features/:
- Improved feature-based module structure by separating into:
- **presentation/**: Widgets, Pages, and UI components.
- **application/**: State Notifiers, Providers, and business logic.
- **domain/**: Entities, Use Cases, and core business rules.
- **infrastructure/**: Repository implementations, data sources, and external integrations.
- Added new Entity and Use Case definitions in the domain layer.
- Enhanced state management with StateNotifier in the application layer.
6. lib/main.dart:
- Refactored entry point for better alignment with Clean Architecture.
- Optimized Firebase initialization as a separate function.
Additionally:
- Fully integrated Clean Architecture principles.
- Removed unnecessary files and legacy code.
- Improved Riverpod integration and configured ProviderScope.
These changes aim to enhance project maintainability and simplify the addition of new features.
0 commit comments