Skill / SKILL.md

Dart Use Primary Constructors

flutter/skills

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 abbreviated concise constructor syntax.
2 views 3,219 repository stars 0 commentsUpdated Nov 28, 2026
Overview

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 abbreviated concise constructor syntax.

Installation & variants

Download the repository, including the skill’s supporting files.

git clone -- 'https://github.com/flutter/skills' skill-source

Use the complete skill-source/skills/dart-use-primary-constructors directory with your client’s skill installer.

  • skills/dart-use-primary-constructors

    main · SKILL.md

    Open installation source

    Source directory recorded from the imported repository path

Source directory skills/dart-use-primary-constructors

Source instructions
Read source instructions

Open to load source instructions

Original SKILL.md

Open to load the original file

Included files
Source & validation
Source status
Awaiting source check
Format validation
Format valid
Checked at
Pending source check
Content SHA-256
2e16eb2ba75b84e315edc1ba18a62947c6926a18b825b815bcc57a3f39911820
Discussion
Comments Be the First to Comment

Please log in to comment

    No comments yet

Related skills