Google has released a minor update to their Dart programming language, version 2.1, focused on improving its overall performance. These improvements have been promised to reach Flutter for its upcoming 1.0 release.
In August, Dart landed its major 2.0 update, which brought a whole host of improvements to the language, many of which were designed around accommodating Flutter and its users. Now Dart version 2.1 has hit release, showing further support for Flutter without leaving behind its web development roots.
One subtle change in Dart 2.1 that will improve the lives of Flutter developers is the silent conversion of integer numbers to doubles, in cases where a double is expected. This is more about convenience than anything else, as it’s just as easy for a developer to type “.0” behind a number as it is for Dart to convert it automatically.
Dart 2.1 is available now and Dart’s online playground, DartPad, has already been updated. It seems Flutter app developers will need to wait until the Flutter 1.0 release to take advantage of the new Dart changes. We should be learning more about when that release will be early next month at the first ever Flutter Live conference.