A time saving template to demonstrate MVVM Clean Architecture with basic project structure using Restful apis, Graphql and Riverpod to get started rather than creating all the folders/files with every new project.
- MVVM Design Pattern using Riverpod.
- Multiple App flavors (LOCAL-STATGING-PRODUCTION)for testing links.
- Common components like buttons, text inputs, etc
- Routing and navigation layer.
- use functional programming for propper error handling article.
- Data presistance layer through Hive DB.
- Widget shourtcuts and shimmer effects links.
- CI/CD via Github actions or codemagic.
- Notifications.
- Responsive Framework.
- Out of the box extensions.
- SharedPrefrences.
- Localizations.
- Native Splash Screen flutter_native_splash.
- Crash Reportsfirebase_crashlytics OR sentry_flutter.
- Toasts which are globally accessible.
- Connectivity check. //#internet_connection_checker
- Restful api client
- Graphql client
- requests interceptors.
- In-App update
- Structured test directory by every feature.
- Unit testing for domain layer.
- Widget testing for UI layer.
shared_preferences: ^2.0.7cupertino_icons: ^1.0.2awesome_extensions: ^1.0.7auto_size_text: ^3.0.0google_fonts: ^2.1.0cached_network_image: ^3.2.0hive: ^2.0.5dio: ^4.0.4graphql: ^5.0.0shared_preferences: ^2.0.11hooks_riverpod: ^1.0.3date_format: ^2.0.4url_launcher: ^6.0.17equatable: ^2.0.3mime: ^1.0.1logger: ^1.1.0
Open CMD/Terminal and run the following commands:
git clone https://github.com/amrahmed242/flutter-clean-architecture-template.git
cd flutter_app
flutter packages get
flutter run- This project is licensed under the MIT License - see the LICENSE file for details
LinkedIn Link You can also follow my GitHub Profile to stay updated about my latest projects: GitHub Follow If you liked the repo then kindly support it by giving it a star ⭐!
Copyright (c) 2021 AmrAhmed.