State and architecture
Managing state correctly is the skill that separates a functional app from a scalable one. These exercises cover Flutter’s three most popular approaches: setState for local single-widget state, Provider with ChangeNotifier for shared global state, and Riverpod with StateProvider as a modern, testable alternative.
- BLoC with Cubit in Flutter: solved exercise
- BLoC with typed events and states in Flutter: solved exercise
- GetX in Flutter: solved state management exercise
- Dependency injection with get_it in Flutter: solved exercise
- DTO to domain mapper in Flutter: solved exercise
- Feature module with DI and testing in Flutter: solved exercise
- Injection with Riverpod providers: solved exercise
- Layered architecture in Flutter: solved exercise
- Optimistic update in Flutter: solved exercise
- Repository and use cases in Flutter: solved exercise
- Riverpod in Flutter: solved counter exercise
- Provider in Flutter for global state: solved exercise
- Flutter Counter with setState: solved exercise step by step