As Flutter projects scale, code clutter increases: unused files, oversized widgets, and spaghetti dependencies slow down development. What if we could organize our codebase like we tidy our homes?
Inspired by Marie Kondo’s KonMari Method, this talk explores organizing and maintaining Flutter codebases using DCM (Design Code Metrics).
We will recap the latest features that DCM provides to eliminate unnecessary code, optimize widgets, manage assets, and address code smells and violations.
By the end of this talk, developers will learn multiple approaches to reducing technical debt, improving code quality, and maintaining a codebase that truly “sparks joy”.
Key Takeaways:
- Showcase cleanup strategies to identify and remove unused code, assets, and inefficient widgets.
- Applying DCM for code health by using static analysis, widget insight to increase quality.
- Using metrics to reveal features that are challenging to scale and modify.
Target Audience:
Flutter developers of all levels who are interested in improving code quality, optimizing performance, and cleaning up their projects, especially those working on large codebases.
Link: https://dcm.dev/