dart-modern-features

Installation
SKILL.md

Dart Modern Features

1. When to use this skill

Use this skill when:

  • Writing or reviewing Dart code targeting Dart 3.0 or later.
  • Refactoring legacy Dart code to use modern, concise, and safe features.
  • Looking for idiomatic ways to handle multiple return values, deep data extraction, or exhaustive checking.

Discovery

To find candidates for modernization:

Switch Expressions

Search for switch statements where every case assigns to the same variable or returns:

  • Regex: switch\s*\([^)]+\)\s*\{\s*case
Related skills
Installs
4
Repository
flutter/skills
GitHub Stars
1.9K
First Seen
Apr 9, 2026