What problem does it solve?
This Skill assists developers in adhering to Effective Dart guidelines, ensuring clean, maintainable Dart and Flutter code.
Core Features & Use Cases
- Naming Conventions: Enforces consistent naming standards for classes, variables, and functions.
- Types and Functions: Provides guidelines for type annotations, class modifiers, and function declarations.
- Style: Offers recommendations for code formatting, such as line length and the use of
final and const.
- Imports and Files: Guidelines for importing libraries and structuring code files.
- Structure: Advice on keeping files focused, limiting file length, and making declarations private.
- Usage Patterns: Examples of idiomatic code patterns in Dart and Flutter.
- Documentation: Best practices for writing doc comments.
- Testing Patterns: Guidelines for writing unit and widget tests.
Quick Start
Run the effective-dart skill to analyze your Dart code and ensure compliance with Effective Dart guidelines.