Dart 2.7 Released, implemented with Extension Methods Functions

December 12, development team of Dart, a programming language for Google Web, announced their latest stable release Dart 2.7 SDK.

Dart is a programming language developed by Google. Despite that it came out as a language to take over JavaScript, now it positions itself as a client-optimized language. Not only that it can compile to JavaScript to run on JavaScript engines, but also to ARM and x86-64. This allows you to develop high-speed applications that can run on any platforms from mobile and desktop devices to backend. According to the GitHub Octoverse report released in November, it is regarded as the fastest-growing language based on the number of contributors.

Dart 2.7 is the latest version, following 2.6 released in November.

Extension Methods functions were implemented in this release. These are highly requested functions that can add new functionality to an arbitrary type. For example, you can use the Extension Methods to call the parseInt method on an immutable String class defined as dart:core.

It also includes a preview of support for null safety. Object references can be accessed safely without triggering null reference exceptions .

Another preview is Characters version 0.5, a characters package. UTF-16 is used for default String class, but this is a package to handle strings with special characters.

Dart 2.7 is available as SDK on the project’s web site. Flutter 1.12, a dart-based framework for building mobile applications, was also released on the same day.

Dart
https://dart.dev/