dart-tooling
Installation
SKILL.md
Dart Tooling & Package Workflows
Contents
Static Analysis Resolution
Use this sequential workflow to identify, fix, and verify static analysis errors in a Dart project.
- Run Static Analyzer:
dart analyze . --fatal-infos - Apply Automated Fixes:
dart fix --dry-rundart fix --apply
- Resolve Manually: Address Type Mismatches, Null Safety, or Invalid Overrides that
dart fixcouldn't automatically resolve. - Performance Diagnostics: Utilize the Analysis Server diagnostics page (available at
http://localhost:8082when analyzer runs) to trace and diagnose slow analysis times. - Verify: Ensure both
dart analyze .anddart testpass.