Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
A simple dart game.
import 'dart:html';
void main() {
final buttonElement = document.querySelector('button');
new Duration(seconds: 1),
onTimeout: (sink) => sink.addError('BOOM!')
(event) {},
onError: (err) => print(err)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment