Flutter Architecture Samples is a curated repository that implements the same app (typically a “todo” app) using various architectural / state management patterns (e.g. BLoC, Redux, Provider, MVC, etc.). Its goal is educational: to help developers compare architecture styles, understand trade-offs, and see best practices in action. You can use the samples in this project as a learning reference, as a roughly apples-to-apples comparison of different approaches, or as a starting point for creating your own apps. The focus of this project is on demonstrating how to structure your code, design your architecture, and the eventual impact of adopting these patterns on testing and maintaining your app. You can use the techniques demonstrated here in many different ways to build apps. Your own particular priorities will impact how you implement the concepts in these projects, so you should not consider these samples to be canonical examples.
Features
- Multiple architecture implementations (Provider, BLoC, Redux, ScopedModel etc)
- Same feature set across implementations for fair comparison
- Shared test coverage / unit / widget tests across patterns
- Clear folder structure demonstrating “how to structure apps”
- Documentation explaining the patterns and tradeoffs
- Example apps showing state management, navigation, dependency injection