Dart

Dart is an approachable, portable, and productive language for high-quality apps on any platform. Learn more at https://dart.dev.

Follow publication

Dart 2.17: Productivity and integration

Michael Thomsen
Dart
Published in
8 min readMay 11, 2022

Dart 2.17 reease banner

New language features for improved productivity

Enhanced enums with members

enum Water {

final int tempInFahrenheit;
const Water(this.tempInFahrenheit);
}
enum Water {
frozen(32),
lukewarm(100),
boiling(212);

}
@override
String toString() => "The $name water is $tempInFahrenheit F.";
void main() {
print(Water.frozen); // Prints “The frozen water is 32 F.”
}

Super initializers

Named args everywhere

Productivity tools

Broadening our platform integration and support

Get started with Dart 2.17!

Dart
Dart

Published in Dart

Dart is an approachable, portable, and productive language for high-quality apps on any platform. Learn more at https://dart.dev.

Michael Thomsen
Michael Thomsen

Written by Michael Thomsen

Product Manager working on Dart and Flutter. Helping developers is my passion!

Responses (3)

Write a response