Recently released on pub:

Show more releases

Latest Blog Posts

Unboxing Packages: vm_service_client

Natalie Weizenbaum, on 17 May 2016
Three weeks ago, I wrote about the stream_channel package. Two weeks ago, I wrote about the json_rpc_2 package which is built on top of stream_channel. This week I’ll complete the trifecta by writing about the vm_service_client package, which uses json_rpc_2 in turn—and is a really cool package in its own right! One of the lesser-known corners of the Dart VM is its service protocol, but it’s one of its most powerful components. It uses JSON-RPC 2.0 over WebSockets to allow clients to connect to the VM, inspect its internal state, set breakpoints, and all sorts of neat stuff. If you’ve... read more

Back To Outer Space

Davy Mitchell, on 11 May 2016
You know that feeling when you dust down an old project and you remember how much fun it was to work on? That! I started a shoot-em-up late last year. Needed a bit of a tidy up as did my simplegamelib package but the first level of the game is playable right here! So take a coffee break a blast some aliens old-school style complete with programmer pixel art. For more serious game development in Dart, check out the impressive StageXL package. read more

Minecraft Screenshot Viewer Update

Davy Mitchell, on 07 May 2016
This little example was written over 3 years ago and needs a little fix (1 line) to run on more modern versions of Dart. The content type headers are now available as enums and ContentType.HTML prevents the page being served as plain text. Although it is 'Minecraft' you could easily adapt this for any sort of custom web server. For the full code see GitHub. read more

Unboxing Packages: json_rpc_2

Natalie Weizenbaum, on 04 May 2016
Last week I wrote about the stream_channel package for two-way communication, so this week it seemed natural to move to a package that uses it: json_rpc_2. This is an implementation of the JSON-RPC 2.0 specification, which is a popular protocol for providing structure and standardization to WebSocket APIs. Although it’s most commonly used with WebSockets, the protocol itself is explicitly independent of the underlying transport mechanism. This makes it a great fit for stream channels, which can be used to represent a two-way stream of JSON objects in a way that works with any underlying mechanism. Thanks to stream channels,... read more

A Web Status Panel On The Raspberry Pi - Part Two

Davy Mitchell, on 03 May 2016
In part one of this series, the status panel on details exposed via the dart:io package. To get more useful information we will look at running external commands and feeding them back to the web status panel. This version of the panel will be Linux (may work on a Mac!) only though could be easily modified for other platforms. The dart:io package has a useful command to execute a process with arguments and collect the results. This is unsurprisingly asychronous. I chose to wrap the command into a little helper: runCommand(String command, List args) async { ProcessResult results = await... read more