Boilerplate template for all my opensource flutter projects.
Step 1:
Download or clone this repo by using the link below:
https://github.com/codekeyz/flutter_boilerplate.git
Step 2:
Go to project root and execute the following command in console to fetch dependencies:
flutter pub get
Step 3:
This project uses libraries that work with code generation, execute the following command to generate files:
flutter packages pub run build_runner build --delete-conflicting-outputs
or watch command in order to keep the source code synced automatically:
flutter packages pub run build_runner watch
- Routing - AutoRouter
- State Management - Provider
- JSON Parse / Serialization - Json_Serializable
- Dependency Injection - Service Locator
- Multiplatform Refresh Wrapper Widget
- Overlay Loading Screen
- EmptyState Widget
- Network Client