
Flutter Dart Code Review
A thorough code review checklist that catches the stuff that actually breaks Flutter apps in production. It covers the usual suspects like widget decomposition and const usage, but also digs into Dart language pitfalls that slip past less strict linters: implicit dynamics, late overuse, catching Error subtypes, and ignoring Future return values. The state management section is genuinely library agnostic, with specific guidance for both immutable patterns like BLoC and Riverpod and reactive mutation approaches like MobX and Signals. Particularly useful for the async state modeling advice, which steers you away from boolean flag soup toward sealed types that make impossible states unrepresentable. Use this during PR reviews or when inheriting a codebase to spot architectural issues early.
- skills.sh installs
- 5.8K
- GitHub stars
- 300.3K
- last updated
- Aug 21, 2026
Install
$ npx -y skills add affaan-m/ecc --skill flutter-dart-code-review --agent claude-codeInstalls into .claude/skills of the current project.
Files
Flutter/Dart Code Review Best Practices
Comprehensive, library-agnostic checklist for reviewing Flutter/Dart applications. These principles apply regardless of which state management solution, routing library, or DI framework is used.
1. General Project Health
- Project follows consistent folder structure (feature-first or layer-first)
- Proper separation of concerns: UI, business logic, data layers
- No business logic in widgets; widgets are purely presentational
-
pubspec.yamlis clean — no unused dependencies, versions pinned appropriately -
analysis_options.yamlincludes a strict lint set with strict analyzer settings enabled - No
print()statements in production code — usedart:developerlog()or a logging package - Generated files (
.g.dart,.freezed.dart,.gr.dart) are up-to-date or in.gitignore - Platform-specific code isolated behind abstractions
2. Dart Language Pitfalls
Sponsors
Details
- Repository
- github.com/affaan-m/ecc
- Categories
- Frontend Development, Security, Git & Pull Requests, Code Review & Quality, Debugging, Mobile Development, Design & UI/UX
- First seen
- Jul 14, 2026
More from affaan-m/ecc
All 263- Frontend A11y5.8K
- Error Handling5.8K
- Ui Demo5.8K
- Agentic Engineering5.8K
- Vite Patterns5.8K
- Bun Runtime5.8K
- Agent Architecture Audit5.8K
- Nodejs Keccak2565.8K
- Security Scan5.8K
- Cpp Testing5.8K
- Django Tdd5.8K
- Dashboard Builder5.7K
- Redis Patterns5.7K
- Eval Harness5.7K
- Manim Video5.7K
- Content Engine5.7K
- Springboot Tdd5.7K
- Motion Patterns5.7K
- Configure Ecc5.7K
- Token Budget Advisor5.7K
- Investor Materials5.7K
- Agent Introspection Debugging5.7K
- Laravel Verification5.7K
- Marketing Campaign5.7K