Tag
“linter”
Cleaning Up Dart Codebases: The unnecessary_primary_constructor_body Lint
Eliminating empty {} body blocks in primary constructors when field initializations happen directly in the header signature.
October 24, 2026 AI Assistant
Enum Constructors in Dart 3.13: The unnecessary_const_in_enum_constructor Rule
Enhanced enums in Dart, removing redundant const keywords in enum constructor calls, and keeping enum definitions clean.
October 24, 2026 AI Assistant
Enforcing Dart 3.13 Primary Constructors with use_declaring_parameters
Analysis lint rule use_declaring_parameters, how dart fix refactors legacy constructor bodies, and static analysis options.
October 24, 2026 AI Assistant
Simplifying Constructor Signatures with unnecessary_type_name_in_constructor
Why repeating the type name in primary constructor declarations is redundant in Dart 3.13 and how to write idiomatic class headers.
October 24, 2026 AI Assistant