Skip to the content
Agent Tools

Dart and Flutter

Partner, reviewed

Official Claude plugin for Dart and Flutter that installs Flutter/Dart Skills and Dart MCP server for building natively compiled, visually stunning applications for mobile, web, desktop, and embedded devices from a single codebase

Plugin · by flutter · runs in Claude Code, Cowork, claude.ai · 25 skills, 1 MCP server · listed 2026-09-22

Claude Code

claude plugin install dart-and-flutter

Skills (25)

  • Skill dart-add-unit-test

    Write and organize unit tests for functions, methods, and classes using `package:test`. Use when creating new logic or fixing bugs to ensure code remains correct and regression-free.

    Any agent

    npx skills add flutter/agent-plugins --skill dart-add-unit-test
  • Skill dart-build-cli-app

    Architectural patterns, entrypoint structure, exit codes, stream routing, and subprocess spawning for Dart command-line interface (CLI) applications.

    Any agent

    npx skills add flutter/agent-plugins --skill dart-build-cli-app
  • Skill dart-collect-coverage

    Collect coverage using the coverage packge and create an LCOV report

    Any agent

    npx skills add flutter/agent-plugins --skill dart-collect-coverage
  • Skill dart-fix-runtime-errors

    Uses get_runtime_errors and lsp to fetch an active stack trace, locate the failing line, apply a fix, and verify resolution via hot_reload.

    Any agent

    npx skills add flutter/agent-plugins --skill dart-fix-runtime-errors
  • Skill dart-generate-test-mocks

    Define and generate mock objects for external dependencies using `package:mockito` and `build_runner`. Use when unit testing classes that depend on complex external services like APIs or databases.

    Any agent

    npx skills add flutter/agent-plugins --skill dart-generate-test-mocks
  • Skill dart-migrate-to-checks-package

    Replace the usage of `expect` and similar functions from `package:matcher` to `package:checks` equivalents.

    Any agent

    npx skills add flutter/agent-plugins --skill dart-migrate-to-checks-package
  • Skill dart-resolve-package-conflicts

    Workflow for fixing package version conflicts. Use this when `pub get` fails due to incompatible package versions.

    Any agent

    npx skills add flutter/agent-plugins --skill dart-resolve-package-conflicts
  • Skill dart-run-static-analysis

    Execute `dart analyze` to identify warnings and errors, and use `dart fix --apply` to automatically resolve mechanical lint issues.

    Any agent

    npx skills add flutter/agent-plugins --skill dart-run-static-analysis
  • Skill dart-setup-ffi-assets

    Guides agents in compiling and packaging C/C++ source code into dynamic or static libraries (Code Assets) using Dart's Native Assets hook system (via hook/build.dart and hook/link.dart utilizing…

    Any agent

    npx skills add flutter/agent-plugins --skill dart-setup-ffi-assets
  • Skill dart-use-doc-examples

    How to inject external code examples into Dartdoc using the {@example} directive, and how to filter those files using #hide, #region, and #endregion tags.

    Any agent

    npx skills add flutter/agent-plugins --skill dart-use-doc-examples
  • Skill dart-use-ffigen

    Guide agents to use `package:ffigen` to automatically generate FFI bindings instead of writing them manually. Use this skill when a task involves writing new FFI bindings, extending…

    Any agent

    npx skills add flutter/agent-plugins --skill dart-use-ffigen
  • Skill dart-use-path-package

    Cross-platform file and directory path manipulation, segment splitting, extension extraction, and context conversion using `package:path` and `package:file`.

    Any agent

    npx skills add flutter/agent-plugins --skill dart-use-path-package
  • Skill dart-use-pattern-matching

    Applies Dart 3 pattern matching, switch expressions, and destructuring idiomatically to validate data schemas, handle algebraic data types, and decompose control flow.

    Any agent

    npx skills add flutter/agent-plugins --skill dart-use-pattern-matching
  • Skill dart-use-primary-constructors

    Help users write syntactically and semantically correct primary constructors in Dart, and migrate/use the new constructor syntax, empty-body semicolon syntax, in-body initializer list syntax, and…

    Any agent

    npx skills add flutter/agent-plugins --skill dart-use-primary-constructors
  • Skill dart-write-documentation

    Rules and formatting guidelines for writing Dart /// API documentation and doc comments. Use when documenting Dart code, writing doc comments for any Dart declaration (libraries, classes, methods…

    Any agent

    npx skills add flutter/agent-plugins --skill dart-write-documentation
  • Skill flutter-add-integration-test

    Configures Flutter Driver for app interaction and converts MCP actions into permanent integration tests. Use when adding integration testing to a project, exploring UI components via MCP, or…

    Any agent

    npx skills add flutter/agent-plugins --skill flutter-add-integration-test
  • Skill flutter-add-widget-preview

    Adds interactive widget previews to the project using the previews.dart system. Use when creating new UI components or updating existing screens to ensure consistent design and interactive testing.

    Any agent

    npx skills add flutter/agent-plugins --skill flutter-add-widget-preview
  • Skill flutter-add-widget-test

    Implement a component-level test using `WidgetTester` to verify UI rendering and user interactions (tapping, scrolling, entering text).

    Any agent

    npx skills add flutter/agent-plugins --skill flutter-add-widget-test
  • Skill flutter-apply-architecture-best-practices

    Architects a Flutter application using the recommended layered approach (UI, Logic, Data). Use when structuring a new project or refactoring for scalability.

    Any agent

    npx skills add flutter/agent-plugins --skill flutter-apply-architecture-best-practices
  • Skill flutter-build-responsive-layout

    Use `LayoutBuilder`, `MediaQuery`, or `Expanded/Flexible` to create a layout that adapts to different screen sizes. Use when you need the UI to look good on both mobile and tablet/desktop form…

    Any agent

    npx skills add flutter/agent-plugins --skill flutter-build-responsive-layout
  • Skill flutter-fix-layout-issues

    Fixes Flutter layout errors (overflows, unbounded constraints) using Dart and Flutter MCP tools. Use when addressing "RenderFlex overflowed", "Vertical viewport was given unbounded height", or…

    Any agent

    npx skills add flutter/agent-plugins --skill flutter-fix-layout-issues
  • Skill flutter-implement-json-serialization

    Create model classes with `fromJson` and `toJson` methods using `dart:convert`. Use when manually mapping JSON keys to class properties for simple data structures.

    Any agent

    npx skills add flutter/agent-plugins --skill flutter-implement-json-serialization
  • Skill flutter-setup-declarative-routing

    Configure `MaterialApp.router` using a package like `go_router` for advanced URL-based navigation. Use when developing web applications or mobile apps that require specific deep linking and browser…

    Any agent

    npx skills add flutter/agent-plugins --skill flutter-setup-declarative-routing
  • Skill flutter-setup-localization

    Add `flutter_localizations` and `intl` dependencies, enable "generate true" in `pubspec.yaml`, and create an `l10n.yaml` configuration file.

    Any agent

    npx skills add flutter/agent-plugins --skill flutter-setup-localization
  • Skill flutter-use-http-package

    Use the `http` package to execute GET, POST, PUT, or DELETE requests. Use when you need to fetch from or send data to a REST API.

    Any agent

    npx skills add flutter/agent-plugins --skill flutter-use-http-package

From Anthropic's public plugin directory, read on 2026-10-16. Find a skill by task.