Skip to content
Agentmart
Submit a tool

flutter-conventions

Use whenever you write, edit or review Flutter widget code: `State` classes (caching `.of(context)` lookups in didChangeDependencies, fixed lifecycle override…

Skill by FMorschel

IndexedMIT
Write a review

Install

Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.

npx agentmarket install skill/fmorschel-flutter-conventions

Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.

Get the weekly diff

The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.

We use your email only for this newsletter. Privacy

About

Use whenever you write, edit or review Flutter widget code: `State` classes (caching `.of(context)` lookups in didChangeDependencies, fixed lifecycle override order, including `WidgetsBindingObserver`-style callbacks before `dispose`), widget composition (widget classes, not helper methods), rebuild scoping (narrow selectors, read vs. watch), theming, navigation, async UI states, controller ownership/disposal, and platform checks (avoid `Platform.isFoo`; guard with `!kIsWeb` when unavoidable). Index skill: load only the topic files that match the task.

Use cases: design, writing, productivity

No reviews yet. Installed it? Reviews come from verified installers only. How reviews work

Permissions

What this skill can do and what it asks for, from its SKILL.md. Checked Oct 25, 2026.

Tools
No tools found
Secrets
None asked for
Install scripts
None found

Network hosts it talks to 1

  • codeload.github.com · found in install command

Files it touches

  • ~/.claude/skills/flutter-conventions

What's inside

Skill name
flutter-conventions
Description
Use whenever you write, edit or review Flutter widget code: `State` classes (caching `.of(context)` lookups in didChangeDependencies, fixed lifecycle override order, including `WidgetsBindingObserver`-style callbacks before `dispose`), widget composition (widget classes, not helper methods), rebuild scoping (narrow selectors, read vs. watch), theming, navigation, async UI states, controller ownership/disposal, and platform checks (avoid `Platform.isFoo`; guard with `!kIsWeb` when unavoidable). Index skill: load only the topic files that match the task.
License
MIT
Instructions
20 lines in SKILL.md · view on GitHub

Files (9)

  • SKILL.md
  • async-ui.md
  • controllers.md
  • navigation.md
  • platform.md
  • rebuilds.md
  • state.md
  • theming.md
  • widgets.md

SKILL.md (first lines)

## Flutter conventions

Companion to `design-dart-class` and `edit-dart-class` (generic class shape and ordering) and `review-flutter-async-and-disposal` (reviewer checklist for async, rebuild cost and leaks). Where a topic file below conflicts with those on the specific point it covers, the topic file wins.

Read only the files that match what you are touching:

| Touching… | Read |
| --- | --- |
| A `State<T>` class, `.of(context)` lookups, lifecycle method order | [state.md](state.md) |
| Splitting or extracting UI code | [widgets.md](widgets.md) |
| `context.watch`/`read`/`select`, Selector, listenable builders | [rebuilds.md](rebuilds.md) |
| Colors, text styles, spacing, `Theme.of` | [theming.md](theming.md) |
| Navigator/router calls, passing results back | [navigation.md](navigation.md) |
| FutureBuilder/StreamBuilder, loading/error/empty states | [async-ui.md](async-ui.md) |
| TextEditingController, FocusNode, AnimationController, etc. | [controllers.md](controllers.md) |
| `Platform.isFoo`, `kIsWeb`, `defaultTargetPlatform`, per-platform branching | [platform.md](platform.md) |

Related skills: `write-flutter-ui-tests` (widget, golden and integration tests) and `review-flutter-visual-changes` (verifying in the running app that a visual change looks right and nothing unrelated moved).

After editing Dart files, follow the post-edit Dart workflow from the global instructions: `dart fix --apply`, `dart analyze` (fix every diagnostic), then `dart format` on each edited file.

From FMorschel/agents, MIT.

More from FMorschel/agents

Signals

Stars
0
Forks
0
Open issues
0
Last commit (this folder)
Oct 20, 2026 (9 days ago)

From GitHub (fetched Oct 24, 2026).

Details

License
MIT
First seen
Oct 24, 2026
Last checked
Oct 24, 2026

More from FMorschel

Cite this page

flutter-conventions skill. Agent Mart. https://agentmart.dev/skills/fmorschel-flutter-conventions (last updated 2026-10-24)