devmuaz/flutter-clean-architecture
49.0
Weak · 8 November 2026
927
lines of production code
Dart
primary language
7
measurements over time
What this system is
This system is a cross-platform Flutter news application that retrieves live articles from the NewsAPI and allows users to save stories locally for offline access. It employs a clean architecture pattern with BLoC state management and GoRouter navigation to structure its breaking news, article details, and saved content screens. The codebase supports both Android and iOS platforms, utilizing SQLite for local data persistence and Retrofit for network communication.
Features
App restructured with clean architecture, local database, and remote API integration
The application has been rebuilt from the ground up using a clean architecture pattern, replacing the previous basic routing and placeholder structure. Users now experience a fully functional news app with three main screens: Breaking News, Article Details, and Saved Articles. The app fetches live news from the NewsAPI (https://newsapi.org/v2) using a Retrofit-based service and supports infinite scrolling. Articles can be saved locally using a SQLite database (via the Floor library), allowing users to bookmark and view their saved stories offline. The UI has been updated to use the 'Butler' font for titles and includes a floating action button to save articles. Dependency injection is now handled by GetIt, wiring up the API, database, and BLoC/Cubit state management layers.
lib/src · high confidence
Behavioural changes
Android project setup and Gradle upgrade
The Android module has been restructured to align with modern Flutter embedding standards, including the addition of dark mode support via new style resources and the migration of the application theme to use the new V2 embedding conventions (removing the legacy FlutterApplication class and SplashScreenDrawable metadata). Additionally, the Gradle wrapper has been upgraded from version 5.6.2 to 7.5, and security best practices have been applied by excluding keystore and JKS files from version control.
android · high confidence
iOS minimum deployment target raised to 11.0 and app architecture updated to use BLoC and GoRouter
The iOS app now requires iOS 11.0 or later (up from 8.0/9.0), enabling newer platform features and aligning with modern Xcode build settings. Internally, the app has been restructured to use the BLoC pattern for state management (LocalArticlesCubit and RemoteArticlesCubit) and GoRouter for navigation, replacing the previous route generation approach. Additionally, CocoaPods integration is now fully configured in the Xcode project, and new Info.plist keys disable minimum frame duration on iPhone and support indirect input events.
ios, lib · high confidence
Test coverage
Removal of default widget test boilerplate
The default Flutter widget test file has been cleared of its boilerplate code and placeholder smoke test, leaving an empty test suite entry point.
test · high confidence
Dependencies
Upgrade to Flutter Clean Architecture with modernized dependencies
The project has been restructured as a Flutter Clean Architecture application, upgrading the Dart SDK requirement to \>=2.19.2 and significantly updating core dependencies: state management moved to flutter\_bloc ^8.1.2, networking to dio ^4.0.6 and retrofit ^3.3.0, and routing to auto\_route ^5.0.4. Android build configurations now use Kotlin 1.7.10 and Gradle 7.2.0 with Java 8 compatibility, while iOS minimum deployment target is raised to iOS 11.0.
(dependencies) · high confidence
Written by cca.canine.dev from the codebase's own history, inside the signed delivery this page is composed from.
How this codebase got here
Score
- CAI 49 → 49 (-0.2)
- Rubric changed (rubric-2026.10.5 → rubric-2026.11.2) — scores are not directly comparable.
Lenses
- Code Health 100 → 100 (+0.0)
- Architecture 94 → 94 (+0.0)
- Maturity 63 → 63 (+0.0)
- Readiness 12 → 12 (+0.0)
- Security 95 → 93 (-1.4)
- Domain Modelling 100 → 100 (+0.0)
- Performance 100 → 100 (+0.0)
Resolved (2)
- Documentation: no installation or build instructions (README.md)
- Documentation: no project overview (README.md)
New (1)
- Documentation: no build, run or usage example (README.md)
Written by cca.canine.dev from the codebase's own history, inside the signed delivery this page is composed from.
Survey your own repository
devmuaz/flutter-clean-architecture was measured the same way every project in this corpus was: the same rubric, at a pinned commit, with the result published in full. Point a surveyor at a repository you know and see whether you agree with it.
About this page
- The score is its most recent published measurement, taken on 8 November 2026 at a pinned commit. It is not a live figure and does not change until the project is measured again.
- Measured at commit 5b361d888dce7f4d74ae41d7f50253e7387acf68 — the exact code this score is about.
- Scored under rubric-2026.11.2 — the same rubric and the same method as every other entry in this index.
- Measured by Canine Code Analyzer (cca.canine.dev) using cca measure-2026.11.3+preprod-45ab2cab63de.