Migrate Flutter Code
Use for framework/API/state-management migrations.
Workflow
- •Define migration target and acceptance criteria.
- •Run baseline analysis and tests.
- •Apply migration in small batches by module.
- •Re-run analysis/tests after each batch.
- •Address deprecations and remove temporary adapters.
- •Final pass for style, naming, and docs.
Guardrails
- •Do not mix unrelated refactors with migration work.
- •Keep intermediate states buildable when possible.
- •Prefer codemod-like repetitive edits over ad hoc changes.
- •Attach validation status to each migration batch.
Required output
- •Migration target and acceptance criteria.
- •Batch-by-batch changes summary.
- •Validation commands/results per batch.
- •Breaking changes and rollback notes.
- •Next batch recommendation.