Adds support for Flutter development (mobile, web, and desktop) to Visual Studio Code, including hot reload, device management, widget editing, debugging, testing, and DevTools integration.
This extension depends on and automatically installs the Dart extension for Dart language support.
- Hot Reload & Debugging — Run, debug, and attach to Flutter apps (mobile, web, and desktop) with breakpoints, expression evaluation, hot reload and hot restart (including hot reload on save), and configurable "Just My Code" debugging.
- Devices & Emulators — Quickly switch target devices from the status bar, launch Android emulators and iOS simulators, and run
flutter doctordirectly from VS Code. - Widget Editing & Refactoring — Code completion, real-time diagnostics, widget-aware refactorings (wrap/remove/extract widget), closing labels, Flutter UI guides, and automatic formatting via
dart format. - Flutter Sidebar, Property Editor & Widget Preview — Dedicated VS Code views for managing your running app, editing widget properties, and previewing widgets alongside your code.
- Testing & Packages — Integrated with VS Code's Test Explorer to discover, run, debug, and view coverage for Flutter tests, plus Pub package commands, automatic
pub getonpubspec.yamlchanges, and a Dependencies view in the Explorer. - DevTools & AI Tooling — Built-in Flutter DevTools integration (Widget Inspector, performance, CPU profiler, memory, network, and logging) and AI agent support via the Dart SDK MCP server and VS Code language model tools.
- Install this extension from the Visual Studio Code Marketplace, Open VSX, or by searching for Flutter in the VS Code Extensions view. The Dart extension is installed automatically.
- Open a folder containing a Flutter project (or run Flutter: Create New Project from the Command Palette). If the Flutter SDK is not already installed on your
PATH, the extension can download it for you. - Press
F5(or use the Run and Debug view) to run and debug your app.
Note: Run projects using
F5or the Run and Debug menu for full debugging, hot reload, and DevTools functionality. Runningflutter rundirectly in the built-in terminal will not provide all features.
- Flutter VS Code Documentation
- Dart-Code Documentation Overview
- Extension Settings
- Commands & Key Bindings
- Refactorings & Code Fixes
- Frequently Asked Questions
- Release Notes / Changelog
- Issues & Feature Requests: Report bugs or request features for both the Dart and Flutter extensions on GitHub Issues. When reporting a bug, attaching a log file (instructions) is often very helpful.
- Community: Ask questions or chat in the Dart-Code Discord.
- Contributing: See CONTRIBUTING.md for instructions on building, running, and testing the extensions locally.
The companion Dart extension collects basic anonymous usage analytics — such as extension, editor, and SDK versions, platform, certain commands and debug session types, and a few feature settings — to help guide development.
A complete list of collected events and properties is available in the analytics documentation and telemetry.json. Reporting can be disabled via VS Code's Telemetry: Telemetry Level setting (and also respects DO_NOT_TRACK=1 and Dart/Flutter tooling telemetry opt-out).