Recently released on pub:

Show more releases

Latest Blog Posts

Making a Dart web app offline-capable: 3 lines of code

Filip Hráček, on 28 Mar 2017
Another article about Dart from Istvan Soos is about Progressive Web Apps, published today. — Filip HracekHave you ever tried to load a web application (maybe a game or a measurement converter) and couldn’t use it because the network was down? That’s an awful experience, but luckily we have the technology to make such apps available for our users.For most apps and games, this can be done with 3 lines of Dart code and 1 command in the terminal. In this short article I’ll guide you through the steps, and make sure that you can always play Pop, Pop, Win!Pop,... read more

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 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