In Javascript when I provide an onSubmit function, and I return \'false\' from the function, it prevents the page from changing/reloading.
Within the on.submit.add(...) callback, you will receive the Event as an argument. The Event object provides a preventDefault() method to prevent or cancel the default action.
It can be used as follows:
querySelector('#myForm').onSubmit.listen((Event e) {
// ... your code here
e.preventDefault();
});