Dart 2.15: What's new
Channel: Filip Hráček
Date: 2021-12-10

Dart 2.15 brings fast concurrency with worker isolates, a new constructor tear-off language feature, improved enum support in the dart:core library, new features for package publishers, and a few other bits and pieces.

Michael's Blogpost:
https://medium.com/dartlang/dart-2-15-7e7a598e508a

CHANGELOG:
https://github.com/dart-lang/sdk/blob/main/CHANGELOG.md#2150

The Flutter 2.8 "what's new" video:
https://www.youtube.com/watch?v=0LXfnfiK_TA

0:00 Intro
0:49 Faster isolates
3:30 Passing closure to isolate (demo)
4:18 Constructor tear-offs
5:39 New Enum features
6:23 Package retraction
7:44 Tear-offs practically
8:14 Better (non-)null propagation
9:15 Abstract classes with const constructors
9:29 Nullable arguments to unawaited()
9:43 Faster JavaScript interop
10:03 Removal of dart2native and dartfmt
10:17 New linter stuff
10:29 New flag: --example
10:46 Why versions like 2.15 make me happy