Dart Refactoring

•

Provides automated Dart/Flutter refactoring tools for Claude Code, integrating with the Dart Analysis Server for semantic understanding.

This tool serves as an MCP server, offering a comprehensive suite of refactoring and development utilities specifically designed for Dart and Flutter projects within the Claude Code environment. It intelligently combines direct CLI command wrappers for tasks like fixing lints, formatting code, and running tests, with semantically-aware operations powered by the Dart Analysis Server's Language Server Protocol (LSP). This dual approach ensures both efficiency for common tasks and deep code understanding for complex operations such as symbol renaming, method extraction, and finding references, enhancing developer productivity and code quality.

Key Features

01Apply automated lint fixes and format Dart files
02Execute a full quality gate pipeline including fixes, formatting, analysis, and testing
03Perform semantically-aware renaming of symbols across the project
04Find all references to a specific symbol using LSP for accuracy
05Extract code into new methods or widgets with automatic parameter detection
060 GitHub stars

Use Cases

01Enhancing productivity for developers working on Dart/Flutter projects in Claude Code
02Automating code quality checks and static analysis within a project
03Streamlining code refactoring and cleanup in Dart/Flutter development workflows