Flutter Refactors at Scale: Change Everything, Break No...
summary
Banking app refactor across ~100 mobile developers and ~50 packages enforces consistency without breakage by combining Dart Analyzer plugin custom lints, automated code mode suggesters, plus AI for planning and generators. Built tools include a pub.dev lint package, a CLI "Chuck" to remove dead code, and Marionette MCP for UI-driven validation. Results: many small PRs, six-layer safety net (CI, unit/widget/golden/end‑to‑end tests, tech and peer reviews), fewer bugs, faster coding, and noticeably fewer negative PR comments.
AI-written summary · about
chapters (16)
- 0:00Introduction and speakers
- 1:05Project context and challenges
- 4:40Refactor strategy and requirements
- 6:25Stopping bad code creation
- 8:57Custom lint rules with Dart analyzer
- 12:30Building a custom lint rule
- 17:36Automated code modifications with Code Mode
- 19:03Code Mode demo and examples
- 22:15AI versus Code Mode for refactors
- 24:44Code Mode advantages and drawbacks
- 26:52Combining AI and Code Mode
- 27:35Cleaning unused code with Chuck
- 28:39Six-layer safety net for refactors
- 30:06Marionette MCP for AI testing
- 31:38Key takeaways and final tips
- 33:24Closing and resources
