Recently released on pub:

Show more releases

Latest Blog Posts

From GWT to AngularDart: a case study with source code

Filip Hráček, on 13 Mar 2017
Lots of interesting articles about Dart have been cropping up on Medium.com lately. We've decided to cross post them here so that followers of this blog won't miss out on them. We'll start by Istvan Soos's GWT-to-Dart case study, published on Friday. — Filip HracekEarlier this year I was asked if there’s a good way to compare developing web UIs in Google Web Toolkit (GWT) vs. Dart, specifically AngularDart. Having worked with both GWT and Dart, I had a good idea of the differences, but as I thought more, I started to wonder how hard it would be to migrate a... read more

Dart SDK and Dartium 1.22.0 Chocolatey Packages for Windows

Davy Mitchell, on 15 Feb 2017
Chocolatey is a package manager for Windows similar to Linux's apt-get, based on Microsoft's Nuget tool and Powershell scripting language. It works from the command-line and from a WPF GUI interface. You can install unmoderated versions by specifiying the install version during installation.Chocolatey has also been updated with versions 1.22.0Command line installation: choco uninstall dart-sdkchoco install -y dart-sdk -version 1.22.0To verify you have the right version on your path. dart --versionDart VM version: 1.22.0 (Mon Feb 13 17:39:28 2017) on "windows_x64"Command line installation: choco uninstall dartiumchoco install -y dartium -version 1.22.0 read more

Dart 1.22: Faster tools, assert messages, covariant overrides

Filip Hráček, on 14 Feb 2017
Dart 1.22 is now available. It introduces a sync/async union type, assert messages, covariant parameter overrides, and much more. Tool startup is now much faster. Get it now!Faster tool startupWe have switched to using application snapshots for running our SDK tools like dart2js, analyzer, and pub. This improves startup performance. See the AOT compiling talk at Dart Dev Summit 2016 for more information. Information about how to use application snapshots can be found in the SDK wiki.Here are the improved performance numbers we see with the switch.Assert messagesThe fail-fast principle is crucial for building high-quality software, and assert is the simplest way to fail fast.... read more

Cellular Automata - Forest Fire

Davy Mitchell, on 11 Feb 2017
Cellular Automata has featured on this blog before - Conway's Game of Life. Whilst on the Rosetta Code site I stumble upon the Forest Fire model. Of course, a Dart version was soon underway - specifically designed to fit nicely on my phone's screen. The model's rules are straightforward: "A burning cell turns into an empty cellA tree will burn if at least one neighbor is burningA tree ignites with probability f even if no neighbor is burningAn empty space fills with a tree with probability p" Watch the video below, try it out here(link fixed) or view the source... read more

Sound Dart and strong mode

Shams Zakhour, on 11 Jan 2017
As of the 1.19 release, Dart supports an optional mode, called strong mode, that supports stronger static typing. Strong mode helps you find bugs sooner and contributes to making Dart a sound language.To learn more about using strong mode to enable soundness, including the how, the why, and fixes for common problems you might encounter, see:Sound DartHow and why to write sound Dart code, and how to use strong mode to enable soundness.Sound Dart: FAQA list of common questions for those who are interested in stronger static typing.Sound Dart: Fixing Common ProblemsHow to fix errors and warnings you may encounter... read more