Official your AI 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
Skills 25 in the Claude listing
Dart add unit test Write and organize unit tests for functions, methods, and classes using `package:test`. Dart build cli app Architectural patterns, entrypoint structure, exit codes, stream routing, and subprocess spawning for Dart command-line interface (CLI) applications. Dart collect coverage Collect coverage using the coverage packge and create an LCOV report 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. Dart generate test mocks Define and generate mock objects for external dependencies using `package:mockito` and `build_runner`. Dart migrate to checks package Replace the usage of `expect` and similar functions from `package:matcher` to `package:checks` equivalents. Dart resolve package conflicts Workflow for fixing package version conflicts. Dart run static analysis Execute `dart analyze` to identify warnings and errors, and use `dart fix --apply` to automatically resolve mechanical lint issues. 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 packa 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. Dart use ffigen Guide agents to use `package:ffigen` to automatically generate FFI bindings instead of writing them manually. Dart use path package Cross-platform file and directory path manipulation, segment splitting, extension extraction, and context conversion using `package:path` and `package:file`. 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. 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 abbr Dart write documentation Rules and formatting guidelines for writing Dart /// API documentation and doc comments. Flutter add integration test Configures Flutter Driver for app interaction and converts MCP actions into permanent integration tests. Flutter add widget preview Adds interactive widget previews to the project using the previews.dart system. Flutter add widget test Implement a component-level test using `WidgetTester` to verify UI rendering and user interactions (tapping, scrolling, entering text). Flutter apply architecture best practices Architects a Flutter application using the recommended layered approach (UI, Logic, Data). Flutter build responsive layout Use `LayoutBuilder`, `MediaQuery`, or `Expanded/Flexible` to create a layout that adapts to different screen sizes. Flutter fix layout issues Fixes Flutter layout errors (overflows, unbounded constraints) using Dart and Flutter MCP tools. Flutter implement json serialization Create model classes with `fromJson` and `toJson` methods using `dart:convert`. Flutter setup declarative routing Configure `MaterialApp.router` using a package like `go_router` for advanced URL-based navigation. Flutter setup localization Add `flutter_localizations` and `intl` dependencies, enable "generate true" in `pubspec.yaml`, and create an `l10n.yaml` configuration file. Flutter use http package Use the `http` package to execute GET, POST, PUT, or DELETE requests.