Dart Adds Unified Developer Tool
Written by Kay Ewbank   
Monday, 12 October 2020

Dart has been upgraded with a new unified Dart developer tool that can be used to create projects, analyze and format code, run tests, and compile apps. The new release also incorporates a tool that checks for incorrect assignment of nulls.

Dart is described as a client-optimized language for fast apps on any platform. It began life as an alternative to JavaScript that would be supported directly by browsers, but when this didn't work out it was redeveloped as a better compiler. Recently, Dart has achieved market share as the foundation of the Flutter SDK: it provides the language and runtimes that power Flutter apps, and also supports many core developer tasks like formatting, analyzing, and testing code.


Flutter has the benefit of a single, general-purpose developer tool (the flutter command), but until now Dart developers have used a number of different developer tools for separate tasks, such as dartfmt and dartanalyzer. This release adds a new, unified dart developer tool that’s very similar to the flutter tool and can be used for all common tasks.


Unsurprisingly, the new tool has also been added to Flutter, and from Flutter 1.22 SDK onward, the /bin directory  contains both flutter and dart commands. If you do both Flutter and general-purpose Dart development, you get both developer experiences from a single Flutter SDK, without needing to install anything else.

The Dart team says that over the coming stable releases, they plan to add more to this dart tool and gradually deprecate the smaller tools (dartdoc, dartfmt, dartanalyzer, etc.). Next year they expect to ship Dart SDKs that contain only the single dart tool.


The other main improvement in the new release is the Null safety feature that was released as a technical preview earlier in the year. The Null safety tool helps you avoid a class of bugs that are often hard to spot, and as an added bonus enables a range of performance improvements. The tool works by giving you warnings when you try to assign a null value to a type that doesn't support it.


More Information


Related Articles

Dart 2.6 Adds Native Linux Support

Dart 2.1 Is Smaller And Faster

Dart 2 Released With New Mobile Focus

Google's Dart Reborn As Cross Platform App Language

Dart Changes Course - No Longer To Be Native In Chrome

The Astonishing Rise Of Dart

Ecma Approves Dart

Dart 1.8 Adds Support for App Engine and enums

Dart + Chromium = Dartium

Angular Partners With TypeScript


To be informed about new articles on I Programmer, sign up for our weekly newsletter, subscribe to the RSS feed and follow us on Twitter, Facebook or Linkedin.


Researchers Use AI To Decode Dog Language

Scientists from the University of Michigan have used AI to decode what dogs mean by different types of bark. Wav2Vec2 succeeded at four classification tasks - dog recognition, breed identification, ge [ ... ]

The Ongoing State Of JavaScript

The latest State of JavaScript Survey has just been published, bringing us a wealth of details about what parts of the JavaScript ecosystem and used, loved and wanted by developers.

More News

kotlin book



or email your comment to: comments@i-programmer.info

Last Updated ( Monday, 12 October 2020 )