A scalable Flutter counter application built using BLoC state management. It demonstrates clean architecture, feature-first folder structure, and supports both light and dark themes.
Light Theme | Dark Theme |
---|---|
![]() |
![]() |
lib/
├── core/
│ ├── utils/
│ │ ├── app_theme.dart
│ │ ├── app_const.dart
│ │ └── app_color.dart
│ └── widgets/
│ ├── my_app_bar.dart
│ └── app_button.dart
│
├── features/
│ └── counter/
│ ├── presentation/
| | |── widgets/
│ │ | └── counter_reset_button.dart
│ | └── screens/
│ | └── counter_page.dart
│ └── bloc/
│ ├── counter_bloc_bloc.dart
│ └── counter_bloc_event.dart
├── main.dart
└── app.dart
- ➕ Increment / ➖ Decrement / 🔄 Reset counter
- 🎨 Light & Dark Theme support
- ⚙️ Built using
flutter_bloc
- 📏 Responsive with
flutter_screenutil
- 💡 Scalable folder structure for real-world projects
- Flutter
- BLoC (
flutter_bloc
) - Google Fonts
- ScreenUtil
- Clean Code Practices
git clone https://github.com/Error-Imtiaj/Scalable_Counter_App_With_BLOC.git
flutter pub get
fvm flutter run
Or use VSCode/Android Studio run button.
fvm flutter build apk --split-per-abi
Mohammad Imtiaj Hossen
GitHub | LinkedIn
This project is licensed under the MIT License.