Command Palette

Search for a command to run...

Назад к скиллам
скилл № 28781

Flutter

Builds, debugs, and ships Flutter apps: widgets, layout constraints, state management, navigation, performance, and store releases. Use when writing Dart…

БесплатноБез исполняемых скриптов
clawicот clawic★ 23 звезды на GitHub

Установить Flutter в Claude Code и Claude Desktop

Зарегайся, чтобы установить скилл

Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.

  • Открой команду установки в одну строку
  • Сохраняй скиллы в синхронизируемую библиотеку
  • Уведомления, когда скиллы обновляются
Зарегаться бесплатноУ меня уже есть аккаунт

Об этом скилле

User preferences live in ~/Clawic/data/flutter/config.yaml (see Configuration); nothing else is stored on the user's machine. If you have data at an old location (~/flutter/ or ~/clawic/flutter/), move it to ~/Clawic/data/flutter/, and say in one line that you moved it and from where.

When To Use

  • Writing or reviewing Flutter UI: widgets, layouts, screens, lists, forms, animations, theming, custom painting
  • Decoding a framework exception: overflow, unbounded constraints, setState during build or after dispose, deactivated ancestor
  • Structuring an app: state management choice, routing, repositories, dependency injection, folder layout
  • Performance work: jank, dropped frames, slow scrolling, memory growth, oversized images, startup time
  • Reaching more users: translations, plurals, right-to-left layout, text scaling, semantics, tablet and desktop windows
  • Shipping: build modes, flavors, signing, obfuscation, size analysis, store artifacts, release-only failures
  • Reaching native: platform channels, FFI, plugins, permissions, background execution, per-platform behavior
  • Not for React Native (react-native), native-only Swift (swift) or Kotlin (kotlin) work, or cross-framework motion systems (animate) — this is Flutter and Dart

Quick Reference

Situation Play
"A RenderFlex overflowed by N pixels" A child asked for more than the parent allows — Expanded/Flexible for a flex child, or make the axis scrollable → layout.md
"Vertical viewport was given unbounded height" A scrollable inside a Column or another scrollable — Expanded, a fixed height, or slivers; shrinkWrap: true is the slow escape → layout.md
"RenderBox was not laid out" Almost always a knock-on: scroll UP to the FIRST exception in the console and fix that one → debug.md
"setState() or markNeedsBuild() called during build" A notifier fired, or navigation/snackbar ran, inside build — move it to a callback or a post-frame callback → debug.md
"setState() called after dispose()" An await outlived the widget — if (!mounted) return; after every await (rule 2) → async.md
"Looking up a deactivated widget's ancestor" A captured BuildContext used after its widget left the tree — capture the NavigatorState or ScaffoldMessengerState BEFORE the await → async.md
"Incorrect use of ParentDataWidget" Expanded/Flexible/Positioned is not a direct child of Row/Column/Flex/Stack → layout.md
List items keep the wrong state after reorder or delete Missing or unstable keys — ValueKey(item.id), never UniqueKey() in a builder (rule 4) → state.md
A widget rebuilds far more than it should Climb the Rebuild Scope Ladder below, then confirm in DevTools' rebuild counter → performance.md
Scrolling stutters, frames dropped Profile mode on a real device first, then image decode size, saveLayer, and per-item work → performance.md
Memory climbs while scrolling images Decoded bytes = width × height × 4, independent of file size — set cacheWidth/cacheHeight → performance.md
Choosing or migrating a state management library Match the repo (state_management: auto); greenfield defaults and migration cost → architecture.md
Route needs an argument, a result, or a deep link Typed routes and result handling with Navigator or go_router → navigation.md
Keyboard covers the field, focus jumps, validation fires too early Controller lifetime, AutovalidateMode.onUserInteraction, scroll-on-focus → forms.md
Parsing, caching, or persisting data Isolate for large payloads, local DB as the source of truth for offline → data.md
An animation stutters, leaks, or never restarts Controller lifetime, child: hoisting, implicit vs explicit choice → animations.md
MissingPluginException right after adding a plugin Hot restart does not register plugins — full stop and re-run → platform.md
Right on the phone, broken on tablet, web, or desktop Window size classes, LayoutBuilder vs MediaQuery, platform-adaptive widgets → adaptive.md
Text overflows once the user enlarges the system font Text scaling is a layout input, not a cosmetic setting → accessibility.md
A chart, gauge, signature pad, or anything no widget can express CustomPaint, and the shouldRepaint contract that keeps it cheap → custom-painting.md
Translated text overflows, dates look wrong, or the layout must mirror for Arabic ARB workflow, ICU plurals, and the directional widgets → localization.md
A test hangs, or passes locally and fails in CI pumpAndSettle against an endless animation; goldens are platform-specific → testing.md
Works in debug, broken in the release build AOT, tree-shaken icons, stripped asserts, obfuscation, undeclared assets → release.md
pub get cannot resolve, or a plugin breaks after an upgrade Version solving, overrides, transitive plugin constrai
Полный SKILL.md на GitHub

Разрешённые инструменты

Инструменты, которые скиллу разрешено вызывать.

Без ограничений — скилл может использовать любой инструмент.

Вложенные файлы

  • _meta.json
  • accessibility.md
  • adaptive.md
  • animations.md
  • architecture.md
  • async.md
  • commands.md
  • custom-painting.md
  • dart.md
  • data.md
  • debug.md
  • dependencies.md
  • forms.md
  • layout.md
  • localization.md
  • navigation.md
  • performance.md
  • platform.md
  • release.md
  • state.md
  • testing.md
  • widgets.md

FAQ

Что делает скилл Flutter?

Builds, debugs, and ships Flutter apps: widgets, layout constraints, state management, navigation, performance, and store releases. Use when writing Dart widgets or screens; when a RenderFlex overflows, a viewport is given unbounded height, or a RenderBox was not laid out; when setState is called during build or after dispose, or BuildContext is used across an async gap; when the UI janks, scrolling stutters, or images exhaust memory; when hot reload stops applying changes; when Provider, Riverpod, or Bloc rebuild too much or too little; when routing with Navigator or go_router, deep links, or back-button handling; when the keyboard covers a form field or validation misfires; when a platform channel throws MissingPluginException; when localizing strings or mirroring a layout for right-to-left; when widget, golden, or integration tests hang or fail in CI; or when a build works in debug but the release APK, IPA, or web bundle breaks. Not for React Native or native-only Swift and Kotlin work.

Как установить скилл Flutter?

Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.

Скилл Flutter запускает скрипты?

Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.

Похожие скиллы

Сравнить Flutter с