Skip to content

Instantly share code, notes, and snippets.

View xxgreg's full-sized avatar

Greg Lowe xxgreg

  • Wellington, New Zealand
View GitHub Profile
import 'dart:async';
import 'dart:chrome';
import 'dart:html';
import 'package:js/js.dart' as js;
void main() {
var open = new ButtonElement()..text = 'Open';
document.body.children.add(open);
write(s) => document.body.children.add(new DivElement()..text = s);