From knowledge-patch
Provides Flutter 3.44.0 compatibility references and migration guidance for Flutter and Dart codebases, covering platform embedding, tooling, widgets, and breaking changes.
How this skill is triggered — by the user, by Claude, or both
Slash command
/knowledge-patch:flutter-knowledge-patchThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
Use this skill before changing Flutter or Dart applications, packages, plug-ins,
agents/openai.yamlcoverage.jsonreferences/accessibility-input-and-testing.mdreferences/android.mdreferences/apple-platforms.mdreferences/dart-language.mdreferences/dart-tooling-and-packages.mdreferences/desktop-and-embedding.mdreferences/migrations-and-breaking-changes.mdreferences/navigation-layout-and-animation.mdreferences/tooling-build-assets-and-plugins.mdreferences/web-rendering-and-graphics.mdreferences/widgets-and-theming.mdUse this skill before changing Flutter or Dart applications, packages, plug-ins, embedders, build automation, or development tooling. Read the reference that matches the task before choosing an API or migration path; several old flags, generated files, properties, and platform assumptions are no longer valid.
| Reference | Topics |
|---|---|
| accessibility-input-and-testing.md | Semantics, accessibility preferences, selection, text input, gestures, and tests |
| android.md | Android SDK and Gradle requirements, rendering, platform views, system UI, and embedding |
| apple-platforms.md | UIScene, Swift Package Manager, Xcode, Cupertino integration, signing, and Apple rendering |
| dart-language.md | Dot shorthands, null-aware collection elements, flow analysis, constructors, and roadmap |
| dart-tooling-and-packages.md | Formatter, analyzer plug-ins, Pub, workspaces, build hooks, native assets, and publishing |
| desktop-and-embedding.md | Thread merging, add-to-app sizing, multi-window APIs, displays, input, and architectures |
| migrations-and-breaking-changes.md | Cross-cutting removals, deprecations, callback changes, and required source migrations |
| navigation-layout-and-animation.md | Routes, transitions, overlays, sheets, slivers, scrolling, layout, and animation |
| tooling-build-assets-and-plugins.md | CLI contracts, Widget Preview, builds, assets, plug-in metadata, MCP, and release artifacts |
| web-rendering-and-graphics.md | Web hot reload, Wasm, renderers, Impeller, shaders, images, filters, and web configuration |
| widgets-and-theming.md | Material and Cupertino controls, menus, forms, themes, tooltips, and component styling |
pubspec.yaml, the platform project, and CI scripts before editing.UIScene; do not assign
the now-read-only sceneLifeCycleDelegate.dart pub get before formatting.
Use dart fix; dart format --fix no longer exists.dart:js_interop and
package:web, especially before enabling Wasm.package:flutter_gen package is gone....Theme value types with their ...ThemeData forms and use
the replacement component properties documented in the widget reference.RadioGroup.DropdownMenu a non-nullable generic type, use initialValue on
DropdownButtonFormField, and express DropdownButton.enabled independently of
its callback.findItemIndexCallback, onReorderItem, maintainHintSize, Tooltip.constraints,
and the current Cupertino sheet builder contract.IconData or TextDecoration; use instances or composition.Image.network HTML-element fallback is
now an explicit webHtmlElementStrategy decision.web_dev_config.yaml.Annotate top-level widget builders with @Preview and keep callable wrappers and
themes publicly and statically accessible. Preview configuration supports size,
brightness, localization, grouping, multiple variants, structured custom annotation
values, IDE filtering, and Inspector integration. Treat platform-only calls as
unavailable even when their imports compile in the preview environment.
@Preview(size: Size(320, 640), brightness: Brightness.dark)
Widget previewCard() => const CardExample();
Configure analyzer plug-ins at the top level of analysis_options.yaml. Published
and path-based plug-ins can provide diagnostics, fixes, and assists; enable individual
plug-in lints under that plug-in's diagnostics mapping and restart analysis after
configuration changes.
plugins:
local_rules:
path: tools/local_rules
diagnostics:
avoid_legacy_api: true
Place a package build hook at hooks/build.dart. Hooks run for run, build, and test
in dependency order, receive a restricted environment, and place generated or
downloaded intermediates in the shared output directory. Give emitted native code
assets a package:<package>/<asset> identity and match it from @Native when the
library URI does not supply the same identity.
Use stateful hot reload on Chrome and the web-server device. Put shared host, port,
TLS, headers, and same-origin proxy settings in project-root web_dev_config.yaml;
explicit command-line HTTPS and header settings win. Use --base-href when a
development run must match a deployed subpath.
OverlayPortal.overlayChildLayoutBuilder for anchor-aware placement and
OverlayChildLocation.rootOverlay for root overlays.scrollableBuilder; use route settings when observers need sheet identity.Navigator.popUntilWithResult when one result must cross several popped routes.BackdropGroup and
BackdropFilter.grouped.ImageFilter.shader, named shader bindings, sampler filter quality, synchronous
texture creation, and float image formats only after checking renderer support.RoundedSuperellipseBorder and related primitives when the design calls for
continuous corners; web support no longer falls back to ordinary rounded rectangles.flutter analyze and relevant Dart analyzer plug-in diagnostics.npx claudepluginhub nevaberry/nevaberry-plugins --plugin knowledge-patchProvides expert guidance on Flutter development with Dart 3, state management, architecture, and multi-platform deployment.
Provides expert guidance on Flutter 3.27+ and Dart 3.3+ for building/optimizing mobile/web/desktop apps, covering Riverpod/BLoC state, GoRouter navigation, Drift storage, Patrol testing, on-device AI.
Provides Flutter 3.x and Dart 3.x expertise for building high-performance multi-platform apps with advanced widgets, state management, and platform-specific integrations.