Perhaps, create a utility method in html_utils.dart, `cancelEvent(e)`? There are several places in this file where you call 

    event.stopPropagation();
    event.preventDefault();