Dart Primary Constructors skill: what it does and how to install it
Guides developers through Dart primary constructor syntax, migration, concise constructors and common initialisation errors.
Summary generated from the skill's documentation.
Install
$ npx skills add flutter/agent-plugins --skill dart-use-primary-constructorsRun it in a terminal. If your agent is already running, start a new session so it picks the skill up.
About this skill
What it does. Teaches Dart's primary constructor syntax, including declaring, initialising and regular parameters, this: initialiser lists, semicolon bodies and concise constructors. It explains scope and restrictions, then supports migration from field-and-constructor boilerplate and troubleshooting with compiler diagnostics and dart fix.
When to use it. Use for writing, refactoring or debugging primary constructors in Dart 3.13 and later, or Dart 3.12 with the experiment enabled. It does not apply to Dart 3.11 or earlier, where primary constructors are unsupported.
History
Repo stars
3kAbout +2.8k since 16 Jul 2026
Before 1 Oct 2026 the curve is estimated from public event data.
Stars are counted for the whole repository, which holds 25 skills.
Show as a table
| Date | Repo stars |
|---|---|
| 1 Oct 2026 | 3,016 |
| 24 Sept 2026 (estimated) | 2,828 |
| 17 Sept 2026 (estimated) | 2,262 |
| 10 Sept 2026 (estimated) | 1,131 |
| 3 Sept 2026 (estimated) | 189 |
| 27 Aug 2026 (estimated) | 189 |
| 20 Aug 2026 (estimated) | 189 |
| 13 Aug 2026 (estimated) | 189 |
| 6 Aug 2026 (estimated) | 189 |
| 30 Jul 2026 (estimated) | 189 |
| 23 Jul 2026 (estimated) | 189 |
| 16 Jul 2026 (estimated) | 189 |
Installs
10.6k
Tracking since . A chart appears once there are 7 days of data.
Installs via skills.sh
Similar skills
- Developing Genkit JSHelps build AI applications with Genkit in Node.js and TypeScript: flows, tools, agents and fixes for common Genkit errors.
- Finishing a Development BranchGuides the choice of how to integrate finished work once tests pass: merge, pull request or cleanup.
- Writing SkillsGuides creating, editing and testing skills before they are deployed.