Get Started Developing with AI in Flutter
Learn how to set up and use AI agent plugins for Flutter and Dart using your preferred coding assistant.
Published on • September 19, 2026
AI Assistant

Get Started Developing with AI in Flutter
AI coding assistants can supercharge your Flutter development workflow by writing code, fixing errors, and building complete features. But out of the box, general-purpose AI assistants lack context on Flutter patterns, diagnostics, and packages.
Here’s how to equip your assistant with official Flutter agent plugins.
How Flutter AI Plugins Work
An agent plugin bundles tools and knowledge for your AI assistant to understand and modify your Flutter codebase. When you install an official Flutter agent plugin, you get four core capabilities:
- Agent Skills: On-demand procedural guides from official Flutter and Dart repositories for tasks like responsive layouts, state management, and widget tests
- Agent Rules: Persistent instructions that guide assistant responses, such as triggering hot reload when editing widgets
- Dart and Flutter MCP Server: A Model Context Protocol server connecting your assistant to the Dart SDK for real-time diagnostics, symbol resolution, and runtime inspection
- Specialized Agents: Focused personas like the Flutter Accessibility (
a11y) agent for automated audits and code fixes
These tools work together automatically — the assistant uses MCP tools to query live project state while using agent skills to guide coding strategies.
Choose Your AI Coding Agent
Antigravity (Google)
Antigravity is Google’s agentic development platform.
Setup in Antigravity IDE:
- Open Settings (gear icon or
Cmd/Ctrl + ,) - Click the Customizations tab
- In Build with Google Plugins, click Customize
- Click Download next to Dart and Flutter
Antigravity CLI setup:
{
"mcpServers": {
"dart": {
"command": "dart",
"args": ["mcp-server"]
}
}
}
# Install Flutter skills
npx skills add flutter/agent-plugins --skill '*' --agent universal --yes
# Install Dart skills
npx skills add dart-lang/skills --skill '*' --agent universal --yes
Claude Code
Claude Code from Anthropic runs in your terminal.
# Add marketplace
claude plugin marketplace add flutter/agent-plugins
# Install plugin
claude plugin install dart-flutter@dart-flutter
Add rules from the official repository to your CLAUDE.md file.
Cursor
Cursor is an AI-powered code editor. Install via:
- Cursor Marketplace → Add to Cursor
- In Cursor: Customize → search Dart and Flutter
- In chat:
/add-plugin dart-flutter
Download .mdc rule files to .cursor/rules/ directory.
GitHub Copilot
Configure the MCP server in .vscode/mcp.json:
{
"servers": {
"dart": {
"command": "dart",
"args": ["mcp-server"]
}
}
}
Install skills:
npx skills add flutter/agent-plugins --skill '*' --agent universal --yes
npx skills add dart-lang/skills --skill '*' --agent universal --yes
Add rules to .github/copilot-instructions.md.
Other Assistants (Windsurf, Zed, Cline)
For MCP-compatible clients, add to your config:
{
"mcpServers": {
"dart": {
"command": "dart",
"args": ["mcp-server"]
}
}
}
npx skills add flutter/agent-plugins --skill '*' --agent universal --yes
npx skills add dart-lang/skills --skill '*' --agent universal --yes
Next Steps
- Learn about how Flutter AI tools work
- Explore package skills
- Connect to the Developer Knowledge MCP server
- Check out the flutter/agent-plugins repository