“dart-3-13”
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.
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.
Constant Primary Constructors in Dart 3.13: Immutability & Performance
Declaring const primary constructors in class headers, canonicalized immutable objects in Flutter, and compile-time constants.
Parameter Declarations Changes in Dart 3.13: Detailed Syntax & Migration
Explore parameter declarations changes in Dart 3.13 primary constructors, converting this.x in signatures, named parameters, default values, and migration rules.
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.
Named Primary Constructors in Dart 3.13: Syntax, Idioms, and Best Practices
Explore named primary constructors in Dart 3.13, their impact on boilerplate reduction, and how to use them effectively in your Flutter codebases.
Convert to Primary Constructor: Dart 3.13's IDE Refactoring
Dart 3.13 ships IDE refactorings that convert in-body constructors to primary constructors and back. Here's how to use them safely.
New and Factory Keywords in Class Headers: Dart 3.13's Concise Constructor Syntax
Dart 3.13 lets you replace the repeated class name with new or factory in constructor declarations. Here's how the concise syntax works.
Primary Constructors in Dart: The Design Decisions Behind the Syntax
Dart 3.13 ships primary constructors after years of debate. Walk through the trade-offs the language team weighed and what they mean for your code.
Dart 3.13 Release Highlights: What Shipped Beyond Primary Constructors
A tour of the Dart 3.13 changelog beyond the headline feature: new Isolate APIs for synchronous execution and event loop control, Future.pause, typed unmodifiable collections, bit-counting getters on int, breaking type promotion rules, and the analyzer and formatter changes you need to plan for.
Primary Constructors in Dart 3.13: Cleaner Class Definitions
Dart 3.13 introduces primary constructors that reduce boilerplate by declaring parameters directly in the class header. Learn syntax, use cases, and migration tips.