A Flutter project template with a clean architecture. This template is designed to help you kickstart your Flutter application development with a well-structured and maintainable codebase.
- Clean Architecture: Separation of concerns with a clear distinction between presentation, domain, and data layers.
- State Management: Uses
flutter_riverpodfor state management. - Routing: Implements
go_routerfor navigation and routing. - Networking: Utilizes
diofor making HTTP requests. - Environment Configuration: Manages environment variables with
envied. - Logging: Integrated logging with
logger.
-
Clone the repository:
git clone https://github.com/yourusername/flutter_project_template.git cd flutter_project_template -
Install dependencies:
flutter pub get
-
Generate environment files:
flutter pub run build_runner build
-
Run the application:
flutter run
lib/: Contains the main source code for the Flutter application.test/: Contains the unit and widget tests.ios/andandroid/: Platform-specific code for iOS and Android.