https://github.com/dart-lang/ai/issues/498
Add proactive Flutter hot reload rules (flutter-app-runtime.md and
flutter-app-runtime.mdc) to automate the hot reload and runtime error
verification loop when editing Dart and Flutter files.
Problem:
The sub-second Stateful Hot Reload cycle is the cornerstone of the
Flutter development experience. However, during AI-driven workflows:
- Out-of-Sync Execution: Agents modify source code on disk but fail to
update the active session, leaving the simulator/device screen stale.
- Friction in Context Switching: Users must exit the chat interface to
manually initiate a reload via the CLI ('r') or IDE tooling.
- Latent Feedback on Regressions: Build failures and layout issues
(e.g., RenderFlex overflows) are only revealed after manual
intervention, leading to fragmented multi-turn debugging sessions.